Create a project data object
Creates a project-scoped object definition, EITHER by cloning a library/template source ({ from }) or from a full definition body; promoteToLibrary additionally creates a library copy (requires data-object:manage). Needs the project’s project:object-manage; an inaccessible project reads as 404.
Authentication
AuthorizationBearer
WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.
Path parameters
projectId
Request
This endpoint expects an object.
OR
Response
The created object definition.
definition
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error