For the complete documentation index, see llms.txt. This page is also available as Markdown.

Leasable Lock

Manage temporary entity and process locks in the VARIO Cloud API, including listing, extending, and releasing locks manually or automatically.

Locks for entities and processes (time-limited).

Extend a lock

put
Path parameters
tokeninteger · int64Required

Lock token.

Query parameters
leasePeriodinteger · int64Required

Lease duration in seconds.

Responses
200

OK

*/*
keystringRead-onlyOptional

Lock key.

tokeninteger · int64Read-onlyOptional

Lock token.

lockedBySystembooleanRead-onlyOptional

Was this lock created by the system?

Default: false
validUntilstring · date-timeRead-onlyOptional

Expiry time.

put/cmn/leasable-locks/{token}
PUT /cmn/leasable-locks/{token}?leasePeriod=1 HTTP/1.1
Host: api.example.com
Accept: */*
200

OK

{
  "key": "text",
  "token": 1,
  "user": {
    "id": "text",
    "label": "text",
    "description": "text",
    "active": true
  },
  "lockedBySystem": false,
  "validUntil": "2026-01-01T00:00:00.000Z"
}

Release a lock automatically, controlled by the frontend

delete
Path parameters
tokeninteger · int64Required

Lock token.

Responses
200

OK

*/*
contextstringOptional

message context

messageValuestringOptional

message

delete/cmn/leasable-locks/{token}
DELETE /cmn/leasable-locks/{token} HTTP/1.1
Host: api.example.com
Accept: */*
200

OK

{
  "context": "text",
  "messageValue": "text"
}
get
Responses
200

OK

*/*
keystringRead-onlyOptional

Lock key.

tokeninteger · int64Read-onlyOptional

Lock token.

lockedBySystembooleanRead-onlyOptional

Was this lock created by the system?

Default: false
validUntilstring · date-timeRead-onlyOptional

Expiry time.

get/cmn/leasable-locks
GET /cmn/leasable-locks HTTP/1.1
Host: api.example.com
Accept: */*
200

OK

[]

Release a lock manually, e.g. via the system settings

delete
Path parameters
tokeninteger · int64Required

Lock token.

Responses
200

OK

*/*
contextstringOptional

message context

messageValuestringOptional

message

delete/cmn/leasable-locks/custom/{token}
DELETE /cmn/leasable-locks/custom/{token} HTTP/1.1
Host: api.example.com
Accept: */*
200

OK

{
  "context": "text",
  "messageValue": "text"
}

Last updated

Was this helpful?