Ethiack Docs
Events

Remove an event credential (deprecated path)

DELETE
/v1/events/{event_slug}/credentials/{credential_id}

Deprecated: use DELETE /v1/pentests/{pentest_slug}/credentials/{credential_id} instead.

Remove a credential of any kind from a pentest.

Absent, invisible, and other-pentest credentials all answer 404, so ids cannot be probed; 403 is only possible on a credential the caller can read but not delete.

AuthorizationBearer <token>

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

In: header

Path Parameters

credential_id*integer
event_slug*string

Response Body

application/json

application/json

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