Get web hosting details
Domains and quotas — hosting's equivalent of a VPS's CPU and memory. total: null on a quota
means unlimited.
Only for services whose platform is enhance; anything else is a 400. An empty response
(no plan, no domains, no quotas) means the service is not provisioned yet or the panel could
not be reached — both are states to retry, not faults.
There is deliberately no link into the panel here: the dashboard's version returns a one-time SSO session, and no read scope hands out a way in.
apiToken services:readAuthorizationBearer <token>A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.
Scope: services:read
id*integerThe service id, as returned by GET /v1/services.
The hosting service.
application/json- response
planName*|The plan as the panel knows it, which can differ from the product name.
suspended*booleanWhether the panel has it suspended.
domains*array<string>quotas*array<>curl -X GET 'https://api.deluxhost.net/v1/services/0/hosting' \ -H "Authorization: Bearer $DELUXHOST_TOKEN"{ "planName": "string", "suspended": true, "domains": [ "string" ], "quotas": [ { "name": "string", "usage": 0, "total": 0 } ]}