Change the roles on a DataLens shared entry
datalens_sharedentries_access_bindings_updateAdd or remove access roles for a DataLens shared entry while preserving all other role assignments.
Instructions
Give or take away roles on a shared entry; the roles not named stay as they are.
The roles are datalens.sharedEntries.* (viewer, admin, …).
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": {
"entry_id": "<entry_id>",
"deltas": "<deltas>"
},
"name": "datalens_sharedentries_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). | |
| entry_id | Yes | Id of a shared entry: one that lies in a collection. |