ZITADEL Docs
APIsCore ResourcesV1Instance Objects

AddInstanceTrustedDomain

Add an Instance Trusted Domain

Deprecated: use instance service v2 ListTrustedDomains instead.

Add a domain to the list configured for this Zitadel instance. These domains are trusted to be used as public hosts.

POST
/trusted_domains

Request Body

application/json

domain*string
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://loading/trusted_domains" \  -H "Content-Type: application/json" \  -d '{    "domain": "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?