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

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

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

List common object access bindings

Lists access bindings for the specified common object.

RequestRequest

POST

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

HeadersHeaders

Name

Description

x-dl-api-version

Type: string

API version header.

Const: 3

Example: 3

BodyBody

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

Name

Description

entryId

Type: string

ID of the common object whose access bindings to retrieve.

Example: example

getInheritedBindings

Type: boolean

Whether to include inherited access bindings.

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
  ]
}

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

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