Skip to main content
POST
Acquire Lock

Path Parameters

resource_id
string
required

Body

application/json

Request body for acquiring an advisory lock.

Attributes: agent_id: ID of the agent requesting the lock.

agent_id
string
required

Response

Successful Response

Advisory lock on a resource.

Attributes: resource_id: ID of the locked resource. agent_id: ID of the agent holding the lock. organization_id: Organization the lock belongs to. acquired_at: Timestamp when the lock was acquired.

resource_id
string
required
agent_id
string
required
organization_id
string
required
acquired_at
string<date-time>