Delete a draft pentest
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.
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
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": {}
}
]
}Update a pentest credential PATCH
Rewrite a pentest credential to new values, within its kind. The body is the credential's **full** representation, `kind` included, as GraphQL's `updatePentestCredential` takes it: secrets are not kept back, so a field left out is cleared or refused rather than preserved. The kind cannot change — the credential is looked up as the kind sent, so an id of another kind is not found. The asset binding follows the new values. No one can update one holding an NTLM hash.
Estimate a fixed-price pentest GET
Quote a SWIFT or DEPTH pentest against the organization's balance. Prices come from the same catalog the order books from, and `sufficient` is the check starting a draft makes, so a quote that says it is affordable starts rather than answering 409 — unless the balance moves in between.