Get entries, workbooks and collections permissions
Returns permissions for the specified DataLens entries, workbooks and collections.
Request
POST
https://api.datalens.tech/rpc/getPermissionsBulk
Headers
|
Name |
Description |
|
x-dl-api-version |
Type: string API version header. Const: Example: |
Body
application/json
{
"entryIds": [
"example"
],
"workbookIds": [
"example"
],
"collectionIds": [
"example"
]
}
|
Name |
Description |
|
collectionIds |
Type: string[] Identifiers of the collections to check permissions for. Min items: Max items: Example
|
|
entryIds |
Type: string[] Identifiers of the entries to check permissions for. Min items: Max items: Example
|
|
workbookIds |
Type: string[] Identifiers of the workbooks to check permissions for. Min items: Max items: Example
|
Responses
200 OK
Response
Body
application/json
{
"entries": {},
"workbooks": {},
"collections": {}
}
|
Name |
Description |
||||||||||||||||||||||||||||||||||||
|
collections |
Type: object
Collection permissions or errors indexed by collection ID. Example
|
||||||||||||||||||||||||||||||||||||
|
entries |
Type: object
Entry permissions or errors indexed by entry ID. Example
|
||||||||||||||||||||||||||||||||||||
|
workbooks |
Type: object
Workbook permissions or errors indexed by workbook ID. Example
|