Generate Domain Verification
Generate a new file to be able to verify your domain with DNS or HTTP challenge.
Path Parameters
- domain string required
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.
- application/json
- application/grpc
- application/grpc-web+proto
Request Body required
- type string
Possible values: [
DOMAIN_VALIDATION_TYPE_UNSPECIFIED
,DOMAIN_VALIDATION_TYPE_HTTP
,DOMAIN_VALIDATION_TYPE_DNS
]Default value:
DOMAIN_VALIDATION_TYPE_UNSPECIFIED
Request Body required
- type string
Possible values: [
DOMAIN_VALIDATION_TYPE_UNSPECIFIED
,DOMAIN_VALIDATION_TYPE_HTTP
,DOMAIN_VALIDATION_TYPE_DNS
]Default value:
DOMAIN_VALIDATION_TYPE_UNSPECIFIED
Request Body required
- type string
Possible values: [
DOMAIN_VALIDATION_TYPE_UNSPECIFIED
,DOMAIN_VALIDATION_TYPE_HTTP
,DOMAIN_VALIDATION_TYPE_DNS
]Default value:
DOMAIN_VALIDATION_TYPE_UNSPECIFIED
- 200
- default
A successful response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- token string
- url string
{
"token": "ofSBHsSAVHAoTIE4Iv2gwhaYhTjcY5QX",
"url": "https://testdomain.com/.well-known/zitadel-challenge/ofSBHsSAVHAoTIE4Iv2gwhaYhTjcY5QX"
}
- Schema
- Example (from schema)
Schema
- token string
- url string
{
"token": "ofSBHsSAVHAoTIE4Iv2gwhaYhTjcY5QX",
"url": "https://testdomain.com/.well-known/zitadel-challenge/ofSBHsSAVHAoTIE4Iv2gwhaYhTjcY5QX"
}
- Schema
- Example (from schema)
Schema
- token string
- url string
{
"token": "ofSBHsSAVHAoTIE4Iv2gwhaYhTjcY5QX",
"url": "https://testdomain.com/.well-known/zitadel-challenge/ofSBHsSAVHAoTIE4Iv2gwhaYhTjcY5QX"
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}