curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/admin/domains \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '
{
"domain": "<string>"
}
'{
"success": true,
"code": 123,
"message": "<string>",
"data": {
"verified": true,
"verification": [
{
"type": "<string>",
"domain": "<string>",
"value": "<string>",
"reason": "<string>"
}
]
}
}Add a new custom domain to the platform configuration.
curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/admin/domains \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '
{
"domain": "<string>"
}
'{
"success": true,
"code": 123,
"message": "<string>",
"data": {
"verified": true,
"verification": [
{
"type": "<string>",
"domain": "<string>",
"value": "<string>",
"reason": "<string>"
}
]
}
}The input required to add a custom domain to the platform
The custom domain to add to the platform
1Successful response
The response returned when adding a custom domain to the platform
Whether the operation was successful
HTTP status code
Error message if operation failed
Response data containing domain verification status
Show child attributes
Whether the domain is verified and ready to use
DNS verification records needed if domain is not verified
Was this page helpful?