Break all locks of a change set or a holder
An admin removes every lock of one change set (meta.changeSet) or one holder (meta.holder: exactly one of the two), with a required comment, in one transaction: a holder who left, or lost content.edit, cannot release. Each lock gets its own lock.break audit event (the comment, the holder, data.bulk). Answers with meta.count, which may be 0. A holder holds at most 1,000 locks, so a call breaks at most that many. A lock taken after the call is a new one and stays. Needs the admin.roles permission.
bearerAuthorizationBearer <JWT>A service account's token (ccms_sat_…, issued by POST /service-accounts/{id}/tokens), or, for local use and demo mode, the server's shared CCMS_API_TOKEN.
X-Ccms-User?stringDemo mode only (CCMS_AUTH_MODE=demo): the user ID to act as. The bearer token is still required; without demo mode the header is refused (400).
application/vnd.api+json- body
meta*application/vnd.api+json- response
meta*curl -X POST 'http://localhost:3000/locks/break' \ -H 'Content-Type: application/vnd.api+json' \ -d '{ "meta": { "comment": "string" }}'{ "meta": { "count": 0 }}