Skip to main content
POST
Acquire deploy lock

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Body

application/json

Request to acquire a deploy lock for the current workspace

lockedBy
string
required

Identity of the lock requester (e.g. hostname, CI job ID)

Minimum string length: 1
ttlMinutes
integer<int32> | null

Lock TTL in minutes (default: 30, max: 60)

Example:

30

Response

Created

data
object
required

Represents an active deploy lock for a workspace