Yandex Cloud
КейсыДокументация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Сделано на Gravity UI
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Yandex DataLens
  • Галерея в DataLens
    • Как пользоваться Public API
    • Версионирование
    • История изменений
      • Overview
        • Overview
        • List common object access bindings
        • Update common objects access bindings
  • Аудитные логи Audit Trails

В этой статье:

  • Request
  • Headers
  • Body
  • USAccessBindingDelta
  • Responses
  • 200 OK
  • Body
  1. DataLens Public API
  2. DataLens API (англ.)
  3. SharedEntry
  4. Update common objects access bindings
Статья создана
Yandex Cloud
Открыть в Markdown
  • Request
    • Headers
    • Body
    • USAccessBindingDelta
  • Responses
  • 200 OK
    • Body

Update common objects access bindings

Updates access bindings for the specified common object.

RequestRequest

POST

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

HeadersHeaders

Name

Description

x-dl-api-version

Type: string

API version header.

Const: 3

Example: 3

BodyBody

application/json
{
  "entryId": "example",
  "deltas": [
    {
      "action": "ADD",
      "accessBinding": {
        "roleId": "example",
        "subject": {
          "id": "example",
          "type": "system"
        }
      }
    }
  ]
}

Name

Description

deltas

Type: USAccessBindingDelta[]

Access binding changes to apply.

Example
[
  {
    "action": "ADD",
    "accessBinding": {
      "roleId": "example",
      "subject": {
        "id": "example",
        "type": "system"
      }
    }
  }
]

entryId

Type: string

ID of the common object whose access bindings to update.

Example: example

USAccessBindingDeltaUSAccessBindingDelta

Name

Description

accessBinding

Type: object

roleId

Type: string

ID of the role assigned to the subject.

Example: example

subject

Type: object

id

Type: string

Unique identifier of the subject.

Example: example

type

Type: string

Type of the subject.

Enum: system, userAccount, federatedUser, serviceAccount, group, invitee

Subject to which the role is assigned.

Example
{
  "id": "example",
  "type": "system"
}

Access binding to add or remove.

Example
{
  "roleId": "example",
  "subject": {
    "id": "example",
    "type": "system"
  }
}

action

Type: string

Action to perform on the access binding.

Enum: ADD, REMOVE

Example
{
  "action": "ADD",
  "accessBinding": {
    "roleId": "example",
    "subject": {
      "id": "example",
      "type": "system"
    }
  }
}

ResponsesResponses

200 OK200 OK

Response

BodyBody

application/json
{
  "id": "example",
  "description": "example",
  "createdBy": "example",
  "createdAt": {
    "seconds": "example",
    "nanos": 0.5
  },
  "modifiedAt": {
    "seconds": "example",
    "nanos": 0.5
  },
  "metadata": {},
  "done": true
}

Name

Description

createdAt

Type: object

seconds

Type: string

Number of seconds since the Unix epoch.

Example: example

nanos

Type: number

Fractional seconds in nanoseconds.

Operation creation timestamp.

Example
{
  "seconds": "example",
  "nanos": 0.5
}

createdBy

Type: string

ID of the user who created the operation.

Example: example

description

Type: string

Description of the operation.

Example: example

done

Type: boolean

Indicates if the operation has completed.

id

Type: string

Unique identifier of the operation.

Example: example

metadata

Type: object

Metadata associated with the operation.

Example
{}

modifiedAt

Type: object

seconds

Type: string

Number of seconds since the Unix epoch.

Example: example

nanos

Type: number

Fractional seconds in nanoseconds.

Operation last modification timestamp.

Example
{
  "seconds": "example",
  "nanos": 0.5
}

Была ли статья полезна?

Предыдущая
List common object access bindings
Следующая
Overview
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Сделано на Gravity UI
Проект Яндекса
© 2026 ООО «Яндекс.Облако»