Written by
Create entry lock
Creates a lock for the specified DataLens entry.
Request
POST
https://api.datalens.tech/rpc/createEntryLock
Headers
|
Name |
Description |
|
x-dl-api-version |
Type: string API version header. Const: Example: |
Body
application/json
{
"entryId": "example",
"data": {
"duration": 0.5,
"force": true
}
}
|
Name |
Description |
||||
|
data |
Type: object
Example
|
||||
|
entryId |
Type: string ID of the entry to lock. Example: |
Responses
200 OK
Response
Body
application/json
{
"lockToken": "example"
}
|
Name |
Description |
|
lockToken |
Type: string Token identifying the created lock. Example: |