Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex DataLens
  • DataLens Gallery
    • How to use the Public API
    • Versioning
    • Release notes
      • Overview
        • Overview
        • Create entry lock
        • Extend entry lock
        • Delete entry lock
  • Audit Trails events

In this article:

  • Request
  • Headers
  • Body
  • Responses
  • 200 OK
  • Body
  1. DataLens Public API
  2. DataLens API
  3. EntryLock
  4. Create entry lock
Written by
Yandex Cloud
View in Markdown
  • Request
    • Headers
    • Body
  • Responses
  • 200 OK
    • Body

Create entry lock

Creates a lock for the specified DataLens entry.

RequestRequest

POST

https://api.datalens.tech/rpc/createEntryLock

HeadersHeaders

Name

Description

x-dl-api-version

Type: string

API version header.

Const: 3

Example: 3

BodyBody

application/json
{
  "entryId": "example",
  "data": {
    "duration": 0.5,
    "force": true
  }
}

Name

Description

data

Type: object

duration

Type: number

Lock duration in milliseconds.

force

Type: boolean

Whether to replace an existing active lock.

Example
{
  "duration": 0.5,
  "force": true
}

entryId

Type: string

ID of the entry to lock.

Example: example

ResponsesResponses

200 OK200 OK

Response

BodyBody

application/json
{
  "lockToken": "example"
}

Name

Description

lockToken

Type: string

Token identifying the created lock.

Example: example

Was the article helpful?

Previous
Overview
Next
Extend entry lock
© 2026 Direct Cursus Technology L.L.C.