ZITADEL Docs
APIsCore ResourcesV2Organization

DeleteOrganizationDomain

Delete Organization Domain

Delete a new domain from an organization. The domains are used to identify to which organization a user belongs. If the uses use the domain for login, this will not be possible afterwards. They have to use another domain instead.

Required permission:

  • org.write
DELETE
/v2/organizations/{organization_id}/domains

Path Parameters

organization_id*string

OrganizationID is the unique identifier of the organization from which the domain is to be deleted.

Query Parameters

domain*string

Domain is the full qualified domain name to be deleted from the organization. Note that if the domain is used as suffix for user logins, those users will not be able to log in anymore. They have to use another domain instead. Also if the domain was used for domain discovery, users will not be able to find the organization by the domain anymore.

Response Body

application/json

application/json

curl -X DELETE "https://loading/v2/organizations/string/domains?domain=string"
{
  "deletionDate": "1s"
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?