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).
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-onlyOptionalDefault:
Was this lock created by the system?
falsevalidUntilstring · 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"
}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-onlyOptionalDefault:
Was this lock created by the system?
falsevalidUntilstring · date-timeRead-onlyOptional
Expiry time.
get/cmn/leasable-locks
GET /cmn/leasable-locks HTTP/1.1
Host: api.example.com
Accept: */*
200
OK
[]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?