Skip to main content
Glama

Delete a saved test and all its data

delete_target
DestructiveIdempotent

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

NameRequiredDescriptionDefault
idYesSaved test id: from GET /targets or the POST /targets answer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"Saved test id: from GET /targets or the POST /targets answer."
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources