ZITADEL Docs
APIsCore ResourcesV2Organization

DeactivateOrganization

Deactivate Organization

Sets the state of my organization to deactivated. Users of this organization will not be able to log in.

Required permission:

  • org.write
POST
/v2/organizations/{organization_id}/deactivate

Path Parameters

organization_id*string

OrganizationID is the unique identifier of the organization to be deactivated.

Response Body

application/json

application/json

curl -X POST "https://loading/v2/organizations/string/deactivate"
{
  "changeDate": "1s"
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?