Update consent
1 min
POST
https://api.us1.odp.optimizely.com/v3/consent
acceptstringGenerated from available response content types
bodyarray
202Consent updated successfully
400Bad Request
403Forbidden
404Not Found
curl --request POST \
--url https://api.us1.odp.optimizely.com/v3/consent \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data-raw '[
{
"identifier_field_name": "email",
"identifier_value": "[email protected]",
"consent": true
}
]'