Skip to main content
POST
Acquire Update Lock

Authorizations

Authorization
string
header
required

Enter your Kubiya API token (format: Bearer )

Path Parameters

queue_id
string
required
worker_id
string
required

Body

application/json

Request to acquire an update lock for coordinated rolling updates

worker_id
string
required
lock_duration_seconds
integer
default:300

Lock TTL (60-600 seconds)

Required range: 60 <= x <= 600

Response

Successful Response

Response with update lock information

lock_id
string
required
worker_id
string
required
queue_id
string
required
acquired_at
string
required
expires_at
string
required
locked
boolean
required