ZITADEL Docs
APIsCore ResourcesV2Organization

Generate Organization Domain Validation

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

Required permission:

  • org.write
POST
/v2/organizations/{organization_id}/domains/validation/generate

Path Parameters

organization_id*string

OrganizationID is the unique identifier of the organization for which the domain validation is to be generated.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://loading/v2/organizations/string/domains/validation/generate" \  -H "Content-Type: application/json" \  -d '{    "domain": "string"  }'
{
  "token": "string",
  "url": "string"
}

Was this page helpful?