Skip to main content
POST
Publish Content Type
Publishing a content type creates a new immutable version. This version becomes the active definition for creating new content of this type.

Path Parameters

organizationId
string
required
Organization ID
projectId
string
required
Project ID
id
string
required
Content Type ID

Response

Returns the published ContentType object with the new version number.

Status Transitions

Current StatusAfter Publish
draftpublished (version 1)
modifiedpublished (version incremented)
unpublishedpublished (version incremented)
Cannot publish a content type with deleted status. Restore it first by updating the status.

Error Responses

Invalid Status

Invalid Components

Code Examples