Ethiack Docs
Pentests

Delete a draft pentest

DELETE
/v1/pentests/{pentest_slug}/

Cancel a pentest that was never started, releasing its reserved credits.

Its debits never took effect, so they are released rather than refunded, and the row goes with its members, scope and credentials.

AuthorizationBearer <token>

An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.

In: header

Path Parameters

pentest_slug*string

Response Body

application/json

application/json

curl -X DELETE "https://api.ethiack.com/v1/pentests/string/"
{
  "code": 0,
  "description": "string",
  "id": 0,
  "success": true
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}