Update Template’s Question
Updates Template’s Question.
Request
PATCH https://ttv.microworkers.com/api/v2/templates/{id}/questions/{questionId}
Parameters
Path Parameter |
||
---|---|---|
Name |
Type |
Description |
id |
string |
The ID of Template. |
questionId |
string |
The ID of Question. |
Request Body
{
"required": boolean,
"uniqueAnswer": {
"enabled": boolean,
"type": string
}
}
UpdateQuestionRequest
Property |
Type |
Description |
---|---|---|
required |
boolean |
Enables/disables “required Question” flag. |
uniqueAnswer |
Unique Answer settings. [1] |
UniqueAnswerRequest
Property |
Type |
Description |
---|---|---|
enabled |
boolean |
Enables/disables unique Answer check. |
type |
string |
Value can be either
|
Response
Response HTTP Codes
Http Code |
Response Type |
Description |
---|---|---|
204 |
No Content (OK) |
|
400 |
Validation Failed |
|
401 |
Unauthorized |
|
403 |
Access denied |
|
404 |
Not found |