curl --request POST \
--url https://auth.cognite.com/api/v1/orgs/{org}/delete{}Delete an organization. Users will be locked out of the organization immediately. This also applies to the caller.
The organization cannot contain sub-organizations or projects at the time of deletion.
This is a soft-delete, so Cognite Support can restore the organization in case of accidents.
Requires the caller to be an admin in the organization, or any of its ancestors.
Example: Assume an organization hierarchy like: org-a -> org-b -> org-c.
To delete org-c, which means calling ‘POST /api/v1/orgs/org-c/delete’, the caller must be an admin in org-a, org-b or
org-c.
curl --request POST \
--url https://auth.cognite.com/api/v1/orgs/{org}/delete{}ID of an organization The ID of an organization
3 - 64^([a-z][a-z0-9-]{1,62}[a-z0-9])$"my-org"
Successful deletion
The response is of type object.
Was this page helpful?