Update an existing experience optimization variant for an experience by ID

Authentication

AuthorizationBearer
Contentful Management API token

Path parameters

spaceIdstringRequired
environmentIdstringRequired
idstringRequired
variantIdstringRequired

Query parameters

access_tokenstringOptional

Request

Body
namestringRequired
descriptionstringRequired
viewportslist of objectsRequired
designPropertiesmap from strings to maps from strings to objectsRequired
dimensionKeyMapobjectRequired
contentBindingsobjectOptional
slotsmap from strings to lists of objectsOptional
metadataobjectOptional

Response

200
sysobject
namestring
descriptionstring
viewportslist of objects
designPropertiesmap from strings to maps from strings to objects
dimensionKeyMapobject
contentBindingsobject
metadataobject
slotsmap from strings to lists of objects

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
500
Internal Server Error