Update a Component in a preview session

Update a component using its ID in the path. Send the complete entity configuration without sys; any supplied sys is overwritten with the route’s entity ID and type. Use the same Content Management API token that created the session.

Authentication

AuthorizationBearer

A Content Management API token, sent as Authorization: Bearer <token>.

Path parameters

spaceIdstringRequired
environmentIdstringRequired
sessionIdstringRequired
idstringRequired

Request

Body
namestringRequired
descriptionstringRequired
contentPropertieslist of objectsRequired
designPropertieslist of objectsRequired
componentTreelist of objects or nullOptional
slotslist of objectsOptional
metadataobjectOptional
dataAssemblieslist of objectsOptional
sysanyOptional

Response

200
sysobject
namestring
descriptionstring
contentPropertieslist of objects
designPropertieslist of objects
componentTreelist of objects or nullOptional
slotslist of objectsOptional
metadataobjectOptional
dataAssemblieslist of objectsOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
413
Content Too Large Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error