Update a design token by ID

Updates a design token by ID, or creates a new one with the specified ID if the design token does not exist.

Authentication

AuthorizationBearer
Contentful Management API token

Path parameters

spaceIdstringRequired
environmentIdstringRequired
idstringRequired

Query parameters

access_tokenstringOptional

Request

Body
namestringRequired
typeenumRequired
metadataobjectOptional
sourceobject or nullOptional

Response

200
sysobject
namestring
typeenum
metadataobject
sourceobject

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