Update a Custom Event
1 min
PATCH
https://api.optimizely.com/v2/projects/{project_id}/custom_events/{event_id}
project_idinteger<int64>The project ID of the Project the Custom Event is stored in
event_idinteger<int64>The Event ID of the Custom Event you'd like to change
acceptstringGenerated from available response content types
bodyobjectA string in JSON format that includes all the fields you'd like to change for a Custom Event
200Return the updated Event
400Invalid Project ID supplied
401Invalid credentials
403You do not have permission to access the specified Event
404Event not found
defaultUnexpected error
curl --request PATCH \
--url https://api.optimizely.com/v2/projects/{project_id}/custom_events/{event_id} \
--header 'accept: application/json'