Статья создана
Get root collection permissions
Returns permissions for the root collection.
Request
POST
https://api.datalens.tech/rpc/getRootCollectionPermissions
Headers
|
Name |
Description |
|
x-dl-api-version |
Type: string API version header. Const: Example: |
Responses
200 OK
Response
Body
application/json
{
"createCollectionInRoot": true,
"createWorkbookInRoot": true
}
|
Name |
Description |
|
createCollectionInRoot |
Type: boolean Indicates if collections can be created in the root collection. |
|
createWorkbookInRoot |
Type: boolean Indicates if workbooks can be created in the root collection. |