PATCH /fields/{field_id}/choices/{choice_id}
1 min
PATCH
https://api.cmp.optimizely.com/v3/fields/{field_id}/choices/{choice_id}
field_idstringUnique identifier of the field
choice_idstringUnique identifier of the choice to be updated
bodyobjectPayload to update a choice in the field
204Successful response
400Client error
401Authorization error
403Permission error
404Not found error
422Unprocessable entity error
curl --request PATCH \
--url https://api.cmp.optimizely.com/v3/fields/{field_id}/choices/{choice_id} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"name": "Choice 1"
}'