Delete a journey
delete_journeyDelete a journey (permission: edit)
Remove the journey with its scans on its own test and its dataLayer decisions; this frees its quota slot. While a scan of it is active: 409 scan_in_progress.
etag is sent as If-Match: pass the etag of your last get_journey; on precondition_failed call get_journey again and retry.
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>",
"etag": "<etag>"
},
"name": "delete_journey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Journey id: from GET /journeys or the POST /journeys answer. | |
| etag | Yes | The `etag` returned by get_journey (or by the last write), sent as If-Match. |