Skip to main content

Generate Domain Verification

POST 

/orgs/me/domains/:domain/validation/_generate

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

Request​

Path Parameters

    domain stringrequired

Header Parameters

    x-zitadel-orgid string

    The default is always the organization of the requesting user. If you like to get/set a result of another organization include the header. Make sure the user has permission to access the requested data.

Body

required

    type string

    Possible values: [DOMAIN_VALIDATION_TYPE_UNSPECIFIED, DOMAIN_VALIDATION_TYPE_HTTP, DOMAIN_VALIDATION_TYPE_DNS]

    Default value: DOMAIN_VALIDATION_TYPE_UNSPECIFIED

Responses​

A successful response.

Schema

    token string
    url string
Loading...