Skip to content
Hacktron Sign in [S]

Discard a pentest draft

Coming soon 1 min Coming soon , , , , ,

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
id
string, required

Responses

200 OK

Field Description
scan_id
string (uuid), required
discarded
boolean, required
Menu
[M]
Next in menu
[J]
Previous in menu
[K]
Find
[F]
Sign in
[S]
Copy page
[C]
Justification
[R]
Dark mode
[D]
High contrast
[H]
Shortcuts
[I]
Close
[esc]