Skip to main content
POST
Rollback Content Type Version
Restores a content type to a previous version’s configuration. This creates a new version with the historical configuration, rather than overwriting history.

Path Parameters

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

Request Body

version
number
required
The version number to rollback to

Example Request

Response

Returns the updated ContentType object with a new version number containing the rolled-back configuration.
Rollback creates a new version (e.g., rolling back from v3 to v2 creates v4 with v2’s configuration). This preserves the complete version history.

Error Responses

Version Not Found

Invalid Package Version

If the historical version references a package version that is no longer available:

Code Examples