PUT /campaigns/{campaign_id}/fields/{field_id}
1 min
PUT
https://api.cmp.optimizely.com/v3/campaigns/{campaign_id}/fields/{field_id}
campaign_idstringUnique identifier of the campaign
field_idstringUnique identifier of the field of the campaign
acceptstringGenerated from available response content types
bodyobjectPayload to update the field value
200Updated the campaign field
400Client error
401Authorization error
403Permission error
404Not found error
curl --request PUT \
--url https://api.cmp.optimizely.com/v3/campaigns/{campaign_id}/fields/{field_id} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"type": "checkbox",
"values": []
}'