domain_not_owned
Domain not owned by hosting account. HTTP status 403.
The domain in the request is not on this hosting account. When changing the main domain, it can also mean the domain belongs to another customer account.
What to do
Use a domain that is on the account; GET /api/v2/shared-hosting/{accountId}/domains lists them. If the domain is on another of your hosting accounts, use that account’s id.
What the message says
- The requested domain is not hosted on this cPanel account.
- The requested domain is not hosted on this hosting account.
Example
{ "type": "https://developer.hostup.se/errors/domain_not_owned", "title": "Domain not owned by hosting account", "status": 403, "detail": "The requested domain is not hosted on this cPanel account.", "code": "domain_not_owned", "requestId": "req_01hxa3b4c5d6e7f8g9h0j1k2m3"}Branch on code, not on title or detail. When you contact support about it, include the requestId. More in Errors and retries.