Change the roles on a DataLens workbook
datalens_workbooks_access_bindings_updateAdd or remove roles on a DataLens workbook while leaving unnamed roles unchanged; specify only the access bindings to grant or revoke.
Instructions
Give or take away roles on a workbook; the roles not named stay as they are.
Grants access: a client that honours the mark asks a person on every call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workbook_id": "<workbook_id>",
"deltas": "<deltas>"
},
"name": "datalens_workbooks_access_bindings_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deltas | Yes | The roles to add (`ADD`) and remove. | |
| dry_run | No | Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none). | |
| workbook_id | Yes | Workbook id. |