Skip to main content
POST
Acquire the edit lease

Authorizations

Authorization
string
header
required

Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.

Body

application/json
websiteId
string
required
Minimum string length: 1

Response

The new lease token and current head version.

leaseToken
string
required

Token to send with every source mutation. Valid until another lease is acquired for this website.

headVersion
integer
required

Draft source version at acquisition.