Delete a saved test and all its data
delete_targetDestructiveIdempotent
Delete a saved test and all its data (permission: edit)
Removes the test with its scans, schedules and journeys, as the dashboard does, and frees its slot. Refused 409 scan_in_progress while a scan of it is active (nothing is deleted): cancel it with POST /scans/{id}/cancel or wait. To change the URL, country or type, delete and create.
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": {
"id": "<id>"
},
"name": "delete_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Saved test id: from GET /targets or the POST /targets answer. |