Update a data object
Applies a partial update to an object definition (field matching is by key; omitted fields are soft-archived). Authorization is scope-dependent: library/template need data-object:manage; project-scoped need the project’s project:object-manage.
Authentication
AuthorizationBearer
WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.
Path parameters
id
Request
This endpoint expects an object.
labelSingular
labelPlural
namePlural
description
icon
color
labelFieldKey
fields
fieldGroups
cardinality
Response
The updated object definition.
definition
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error