Ethiack Docs
Organizations

Delete an organization

DELETE
/v1/organizations/{organization_id}/

Delete an organization on behalf of the integrator that manages it.

Restricted to integrators, as in legacy. The organization must belong to the caller's own partner and must have granted that partner full access (legacy's accept_impersonation): another partner's or an unknown organization is a 404, one that withheld consent a 403. Its subscriptions are removed with it; its findings are kept, detached from the organization, as legacy left them.

AuthorizationBearer <token>

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

In: header

Path Parameters

organization_id*integer

Response Body

application/json

application/json

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