Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Instance Objects

GetCustomDomainPolicy

GET
/admin/v1/orgs/{org_id}/policies/domain

Path Parameters

org_id*org_id

Response Body

Success

application/json
  1. response
policy?
isDefault?is_default

deprecated: is_default is also defined in zitadel.policy.v1.DomainPolicy

Example Request
curl -X GET 'https://example.com/admin/v1/orgs/string/policies/domain'
Example Response200
{  "policy": {    "details": {      "sequence": 0,      "creationDate": "2023-01-15T01:30:15.01Z",      "changeDate": "2023-01-15T01:30:15.01Z",      "resourceOwner": "string"    },    "userLoginMustBeDomain": true,    "isDefault": true,    "validateOrgDomains": true,    "smtpSenderAddressMatchesInstanceDomain": true  },  "isDefault": true}

Was this page helpful?