Mark a block version as broken

Marking a block version as broken ensures that it cannot be released to be used in production. If a released version that is currently live is marked as broken, then it is rolled back.

POST /api/management/projects/{projectId}/blocks/{blockId}/actions

Properties

Name Parameter type Type Format Description
projectId path string The project identifier, e.g. "movieDb". Found in the project overview screen of the management console

Remarks

Example

Accept: application/json
POST: /api/management/projects/movieDb/blocks/movie-listing/actions
{
    "type": "markAsBroken",
    "data": {
        "version": "2.0"
    }
}

Response message

HTTP status code Reason Response model
202 Accepted Block version
401 Unauthorized Error
404 ProjectNotFound Error
422 ValidationError Error
500 InternalServerError Error

results matching ""

    No results matching ""