OpenAI is partnering with Hacktron to find vulnerabilities in its systems. Read the announcement.

Skip to content Hacktron Sign in [S]
Hacktron Sign in [S] Customers Blog Docs Contact Sign in

Discard a pentest draft

1 min
, View, ChatGPT, Claude, Perplexity, OpenAPI

Copy page

Discard a pentest draft

View MarkdownOpen in ChatGPTOpen in ClaudeOpen in PerplexityDownload OpenAPI

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

ParameterDescription
id
string, required

Responses

200 OK

FieldDescription
scan_id
string (uuid), required
discarded
boolean, required
[↓] [↑] [enter] to visit
Menu
[M]
Next in menu
[J]
Previous in menu
[K]
Find
[F]
Ask
[A]
Sign in
[S]
Copy page
[C]
Listen
[L]
Justification
[R]
Language
[G]
Dark mode
[D]
High contrast
[H]
Shortcuts
[I]
Close
[Esc]