Verify if a specific cPanel username belongs to the logged-in customer for a given domain. This is useful for managing hosting accounts and ensures only the owner can administer their account. The endpoint returns a client ID for subsequent actions.
Accept Example Content-Type Example domain string required cpanel_username string required authorized boolean reason string action string client_id string response_time_ms integer https://cloud.hostup.se/api/cpanel-ownership-check curl -X POST "https://cloud.hostup.se/api/cpanel-ownership-check" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"domain": "string",
"cpanel_username": "string"
}' {
"authorized": true,
"reason": "string",
"action": "string",
"client_id": "string",
"response_time_ms": 0
} {
"domain": "string",
"cpanel_username": "string"
}