Discard a pentest draft
Deletes a pentest draft and its saved login details. To end a pentest that has already started, use POST /scans/{id}/stop. You need the member role or above.
Request
DELETE /pentests/{id}
Send an API key with the write scope in the X-Api-Key header.
Path parameters
| Parameter | Description |
|---|---|
idstring, required |
Responses
200 OK
| Field | Description |
|---|---|
scan_idstring (uuid), required | |
discardedboolean, required |