Delete DataLens saved SQL query
datalens_sqlqueries_deleteDeletes a saved SQL query by its ID, with an optional dry run to preview the request before making changes.
Instructions
Delete a saved SQL query.
Experimental in the DataLens API and written from its document: not measured.
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": {
"sql_query_id": "<sql_query_id>"
},
"name": "datalens_sqlqueries_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none). | |
| sql_query_id | Yes | SQL query id. |