Skip to content

Confirm organization domain verification.

POST
/api/admin/org-domain-mappings/verify/confirm
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/api/admin/org-domain-mappings/verify/confirm \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "mapping_id": "mapping_123", "domain": "example.com" }'

Checks DNS TXT records for a pending organization domain verification. Success marks the mapping verified; expired, missing, mismatched, or failed DNS records return a 400 response with diagnostic fields.

Media type application/json
object
mapping_id
required
string
domain
required
string
<= 253 characters
key
additional properties
Example
{
"mapping_id": "mapping_123",
"domain": "example.com"
}

Organization domain mapping verification confirmation response.

Media type application/json
object
verified
required
boolean
message
string
mapping
object
id
required
string
tenant_id
required
string
domain_hash
required
string
domain_hash_version
required
integer
org_id
required
string
auto_join_enabled
required
boolean
membership_type
required
string
Allowed values: member admin owner
auto_assign_role_id
string
verified
required
boolean
priority
required
integer
is_active
required
boolean
created_at
required
integer format: int64
updated_at
required
integer format: int64
key
additional properties
key
additional properties
Example
{
"verified": true,
"mapping": {
"id": "mapping_123",
"tenant_id": "default",
"domain_hash": "sha256:...",
"domain_hash_version": 1,
"org_id": "org_acme",
"auto_join_enabled": true,
"membership_type": "member",
"auto_assign_role_id": null,
"verified": true,
"priority": 10,
"is_active": true,
"created_at": 1770000000,
"updated_at": 1770000100
}
}

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"
}