Skip to main content

Mark a block version as broken

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

Parameters

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

Responses

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

Examples

Mark version 2 of the movie-listing block as broken

JSON
Accept: application/json
POST: /api/management/projects/movieDb/blocks/movie-listing/actions

{
    "type": "markAsBroken",
    "data": {
        "version": "2"
    }
}

Remarks

Marking a block version as broken will disable it and ensure it can't be released

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