Update

Updates an existing custom Template.

Request

PUT https://ttv.microworkers.com/api/v2/templates/{id}

Parameters

Path Parameter

Name

Type

Description

id

string

The ID of Template.

Request Body

{
  "htmlCode": string,
  "title": string,
  "jsSection":  string,
  "cssSection": string
}

UpdateTemplateRequest

Property

Type

Description

htmlCode

string

Task details Template HTML source.

title

string

Title of Template.

jsSection

string

Task details Template JS section.

cssSection

string

Task details Template CSS section.

Response

Response HTTP Codes

Http Code

Response Type

Description

200

TemplateInfoResponse

OK

400

Validation Failed

401

Unauthorized

403

Access denied

404

Not found