Rollback a block version
Log in to add to favouritesPOST/api/management/projects/{projectId}/blocks/{blockId}/actions
Parameter
Name | Parameter type | Type | Description |
---|---|---|---|
projectId(required) | path | string | The project identifier found in the project overview screen of the management console. |
Responses
HTTP status code | Reason | Model |
---|---|---|
202 | Accepted | Block version |
401 | Unauthorized | Error |
404 | Project not found | Error |
422 | Validation error | Error |
500 | Internal server error | Error |
Examples
Rollback version 2 to the last live version
Accept: application/json
POST: /api/management/projects/movieDb/blocks/movie-listing/actions
{
"type": "rollback",
"data": {
"version": "2"
}
}
Remarks
Only actively live versions of a block can be rolled back.