Skip to content

Check out a page

POST
/cms/print/v2/subpages/{id}/lock
curl --request POST \
--url https://api.example.com/cms/print/v2/subpages/1/lock \
--header 'API-Key: <API-Key>' \
--header 'Content-Type: application/json' \
--header 'Token-User: <Token-User>' \
--data '{ "takeover": true }'

Takes the page for this user and client (Print-Client header). Calling it again refreshes the check-out. 409 LOCKED with the holder when someone else has it; the same user on another client only gets it with takeover: true.

id
required
integer
Media typeapplication/json
object
takeover
boolean

Example generated

{
"takeover": true
}

Checked out; the current layout revision

LOCKED