Skip to content

Toggle other choice

PUT
/multiple-choice/{id}/other
curl --request PUT \
--url https://app.surveyrock.com/api/v1/multiple-choice/example/other \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "isEnabled": true }'

Toggle the ‘Other’ choice option

id
required
string
>= 16 characters <= 16 characters

Multiple choice element ID

Other choice toggle data

Media typeapplication/json
object
isEnabled
required

Whether to enable or disable the other choice

boolean
Examplegenerated
{
"isEnabled": true
}

Other choice toggled successfully

Media typeapplication/json
object
success
boolean
data
object
isEnabled
boolean
updatedAt
string format: date-time
meta

Standard response metadata

object
timestamp

Response timestamp in ISO 8601 format

string format: date-time
version

API version

string
requestId

Unique request identifier

string
Example
{
"success": true,
"meta": {
"version": "3.0"
}
}