Skip to Content
ZITADEL Docs
APIsCore ResourcesV2Organization

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*organization_id

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

Response Body

Success

application/json
  1. response
changeDate?change_date

ChangeDate is the timestamp of the deactivation of the organization.

Formatdate-time
Example Request
curl -X POST 'https://example.com/v2/organizations/string/deactivate'
Example Response200
{  "changeDate": "2023-01-15T01:30:15.01Z"}

Was this page helpful?