Yandex Cloud
Документация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Yandex DataLens
RU
  • Галерея в DataLens
    • Как пользоваться Public API
    • Версионирование
    • История изменений
      • Overview
        • Overview
        • Create workbook
        • Delete workbook
        • Delete workbooks
        • Get workbook
        • Get workbooks list
        • Get workbook list by ids
        • Move workbook
        • Move workbooks
        • Update workbook
        • Get workbook entries
        • Update workbook access bindings
        • List workbook access bindings
  • Аудитные логи Audit Trails

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

  • Request
  • Headers
  • Body
  • Responses
  • 200 OK
  • Body
  • AccessBinding
  • SubjectWithBindings
  1. DataLens Public API
  2. DataLens API (англ.)
  3. Workbook
  4. List workbook access bindings
Статья создана
Yandex Cloud
Открыть в Markdown
  • Request
    • Headers
    • Body
  • Responses
  • 200 OK
    • Body
    • AccessBinding
    • SubjectWithBindings

List workbook access bindings

Lists access bindings for the specified workbook.

RequestRequest

POST

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

HeadersHeaders

Name

Description

x-dl-api-version

Type: string

API version header.

Const: 3

Example: 3

BodyBody

application/json
{
  "workbookId": "example",
  "getInheritedBindings": true,
  "pageSize": 0.5,
  "pageToken": "example"
}

Name

Description

workbookId

Type: string

ID of the workbook whose access bindings to retrieve.

Example: example

getInheritedBindings

Type: boolean

Include access bindings inherited from parent resources.

pageSize

Type: number

Maximum number of subjects to return.

pageToken

Type: string

Token for retrieving the next page of results.

Example: example

ResponsesResponses

200 OK200 OK

Response

BodyBody

application/json
{
  "subjectsWithBindings": [
    {
      "subjectClaims": {
        "sub": "example",
        "subType": "SUBJECT_TYPE_UNSPECIFIED",
        "email": "example"
      },
      "accessBindings": [
        {
          "roleId": "example",
          "inheritedFrom": {}
        }
      ],
      "inheritedAccessBindings": [
        null
      ]
    }
  ],
  "nextPageToken": "example"
}

Name

Description

nextPageToken

Type: string

Token for retrieving the next page of results.

Example: example

subjectsWithBindings

Type: SubjectWithBindings[]

Subjects and their access bindings.

Example
[
  {
    "subjectClaims": {
      "sub": "example",
      "subType": "SUBJECT_TYPE_UNSPECIFIED",
      "email": "example"
    },
    "accessBindings": [
      {
        "roleId": "example",
        "inheritedFrom": {
          "id": "example",
          "type": "example"
        }
      }
    ],
    "inheritedAccessBindings": [
      null
    ]
  }
]

AccessBindingAccessBinding

Name

Description

inheritedFrom

Type: object | null

Resource from which the access binding is inherited.

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

roleId

Type: string

ID of the role assigned to the subject.

Example: example

Example
{
  "roleId": "example",
  "inheritedFrom": {
    "id": "example",
    "type": "example"
  }
}

SubjectWithBindingsSubjectWithBindings

Name

Description

accessBindings

Type: AccessBinding[]

Access bindings assigned directly to the subject.

Example
[
  {
    "roleId": "example",
    "inheritedFrom": {
      "id": "example",
      "type": "example"
    }
  }
]

inheritedAccessBindings

Type: AccessBinding[]

Access bindings inherited by the subject.

Example
[
  {
    "roleId": "example",
    "inheritedFrom": {
      "id": "example",
      "type": "example"
    }
  }
]

subjectClaims

Type: object

email

Type: string

Subject email address.

Example: example

sub

Type: string

Subject identifier.

Example: example

subType

Type: string

Subject type.

Enum: SUBJECT_TYPE_UNSPECIFIED, USER_ACCOUNT, GROUP, INVITEE, SERVICE_ACCOUNT, _system

Subject details.

Example
{
  "sub": "example",
  "subType": "SUBJECT_TYPE_UNSPECIFIED",
  "email": "example"
}
Example
{
  "subjectClaims": {
    "sub": "example",
    "subType": "SUBJECT_TYPE_UNSPECIFIED",
    "email": "example"
  },
  "accessBindings": [
    {
      "roleId": "example",
      "inheritedFrom": {
        "id": "example",
        "type": "example"
      }
    }
  ],
  "inheritedAccessBindings": [
    null
  ]
}

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

Предыдущая
Update workbook access bindings
Следующая
Overview
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»