Skip to Content
ZITADEL Docs
APIsCore ResourcesV2Organization

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

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

Query Parameters

domain*domain

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

Success

application/json
  1. response
deletionDate?deletion_date

DeletionDate is the timestamp of the deletion of the Organization Domain.

Formatdate-time
Example Request
curl -X DELETE 'https://example.com/v2/organizations/string/domains?domain=string'
Example Response200
{  "deletionDate": "2023-01-15T01:30:15.01Z"}

Was this page helpful?