Update an Extension
1 min
PATCH
https://api.optimizely.com/v2/extensions/{extension_id}
extension_idinteger<int64>The extension ID of the extension you want to change
acceptstringGenerated from available response content types
bodyobjectA string in JSON format that includes all the fields you'd like to change for an extension
200Return the updated extension
400Invalid request body supplied
401Invalid credentials
403You do not have permission to edit the specified extension
404Extension not found
defaultUnexpected error
curl --request PATCH \
--url https://api.optimizely.com/v2/extensions/{extension_id} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"fields": [
{
"api_name": "",
"default_value": "",
"field_type": "",
"label": ""
}
]
}'