ZITADEL Docs
APIsCore ResourcesV1Organization Objects

RemoveOrgDomain

Remove Domain

Deprecated: use organization service v2 DeleteOrganizationDomain instead.

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.

DELETE
/orgs/me/domains/{domain}

Path Parameters

domain*string

Response Body

application/json

application/json

curl -X DELETE "https://loading/orgs/me/domains/string"
{
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?