Confirm tenant domain mapping DNS verification.
POST
/api/admin/platform/tenant-domain-mappings/verify/confirm
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/api/admin/platform/tenant-domain-mappings/verify/confirm \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "id": "mapping_123", "domain": "example.com" }'Check the published DNS TXT record for a previously initiated tenant domain mapping verification and mark the mapping as verified when the token matches.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Media type application/json
object
id
required
string
domain
required
string
key
additional properties
Example
{ "id": "mapping_123", "domain": "example.com"}Responses
Section titled “ Responses ”Tenant domain mapping response.
Media type application/json
object
id
required
string
tenant_id
required
string
hash_version
required
integer
priority
required
integer
is_active
required
boolean
verified
required
boolean
verification_expires_at
required
integer | null format: int64
created_by
required
string | null
created_at
required
integer format: int64
updated_at
required
integer format: int64
key
additional properties
Example
{ "id": "mapping_123", "tenant_id": "default", "hash_version": 1, "priority": 10, "is_active": true, "verified": false, "verification_expires_at": null, "created_by": "admin_123", "created_at": 1770000000, "updated_at": 1770000000}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}