Skip to main content
POST
Switch the validation method for the tenant's custom domain
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

POST /domains/switch-validation Description: Restarts domain validation using a different method (e.g. switching from HTTP file validation to DNS TXT). Authorization:
  • Required role: admin or higher
Method: POST

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json
validationMethod
enum<string>
required
Available options:
txt,
http,
email

Response

Validation method switched

success
boolean
Example:

true

message
string
Example:

"Validation method switched to txt"

data
object