Skip to main content

Rollback a block version

Log in to add to favourites
POST/api/management/projects/{projectId}/blocks/{blockId}/actions

Parameter

NameParameter typeTypeDescription
projectId(required)pathstringThe project identifier found in the project overview screen of the management console.

Responses

HTTP status codeReasonModel
202AcceptedBlock version
401UnauthorizedError
404Project not foundError
422Validation errorError
500Internal server errorError

Examples

Rollback version 2 to the last live version

JSON
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.

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request