ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Deactivate Organization

Deprecated: use organization service v2 DeactivateOrganization instead.

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

POST
/orgs/me/_deactivate

Request Body

application/json

[key: string]?never

Response Body

application/json

curl -X POST "https://loading/orgs/me/_deactivate" \  -H "Content-Type: application/json" \  -d '{}'
{
  "details": {
    "sequence": 0,
    "creationDate": "2023-01-15T01:30:15.01Z",
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string"
  }
}

Was this page helpful?