Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Generate Domain Verification

Deprecated: use organization service v2 GenerateOrganizationDomainValidation instead.

Generate a new file to be able to verify your domain with DNS or HTTP challenge.

POST
/management/v1/orgs/me/domains/{domain}/validation/_generate

Path Parameters

domain*domain

Request Body

application/json
  1. body
type?type
Value in"DOMAIN_VALIDATION_TYPE_UNSPECIFIED""DOMAIN_VALIDATION_TYPE_HTTP""DOMAIN_VALIDATION_TYPE_DNS"

Response Body

Success

application/json
  1. response
token?token
url?url
Example Request
curl -X POST 'https://example.com/management/v1/orgs/me/domains/string/validation/_generate' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "token": "string",  "url": "string"}

Was this page helpful?