Skip to main content
POST
Rollback Component

Path Parameters

organizationId
string
required
Organization ID
projectId
string
required
Project ID
id
string
required
Component ID
version
number
required
Target version number to rollback to

Request Body

No request body required.

Behavior

Rollback creates a new working copy using the content from the specified version:
  1. The original version remains unchanged
  2. All package references are preserved
  3. The component status becomes modified
  4. The working copy will receive a new version number when published in a package
Rollback does not modify or delete any existing versions. It creates a working copy based on historical content that can be published as a new version.

Response

Returns the Component object with modified status.

Error Responses

Version Not Found

Component Not Found

Code Examples