Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Add Domain

Deprecated: use organization service v2 AddOrganizationDomain instead.

Add a new domain to an organization. The domains are used to identify to which organization a user belongs.

POST
/management/v1/orgs/me/domains

Request Body

application/json
  1. body
domain*domain

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X POST 'https://example.com/management/v1/orgs/me/domains' \  -H 'Content-Type: application/json' \  -d '{  "domain": "string"}'
Example Response200
{  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  }}

Was this page helpful?