Delete a time series
delete_time_seriesPermanently delete an unused time series from a project. Deletion is refused if an inflow, rainfall, or boundary layer feature still references it, so you can detach or reassign that series first.
Instructions
Delete a time series (cannot be undone). Needs the Manager role on the project.
A series still used by a feature of an inflow, rainfall or boundary layer is refused (409) and the refusal names the layer and the feature that use it: detach it there (or point that feature at another series), then call again. A series that no feature uses is deleted.
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": {
"project_id": "<project_id>",
"series_id": "<series_id>"
},
"name": "delete_time_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| series_id | Yes | The time series id | |
| project_id | Yes | The project ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||