Group 8 of 25
Web hosting account
The DirectAdmin account itself: usage, PHP, resources and single-use panel logins.
Endpoints
24
Path prefix
/api/v1
Endpoints
GET
/api/v1/hosting/credentials
Get an account's non-secret connection details
R
GET
/api/v1/hosting/usage
Get an account's quota usage
R
GET
/api/v1/hosting/resource-usage
Get an account's resource usage
R
GET
/api/v1/hosting/usage/history
Get an account's usage history (degrades where unavailable)
R
GET
/api/v1/hosting/account
Get the hosting account for a domain
R
GET
/api/v1/hosting/httpd-config
Get the web-server config summary for a domain
R
GET
/api/v1/hosting/pointers
List domain pointers
R
GET
/api/v1/hosting/resources
List one kind of hosting resource
R
GET
/api/v1/hosting/subdomains
List subdomains
R
GET
/api/v1/hosting
List the user's hosting accounts
R
GET
/api/v1/hosting/redirects
List, create or delete URL redirects
R
GET
/api/v1/hosting/domains
List, create or update addon domains
R
GET
/api/v1/hosting/hotlink-protection
Read or set hotlink protection
R
POST
/api/v1/hosting/pointers
Create a domain pointer
W
POST
/api/v1/hosting/subdomains
Create a subdomain
W
POST
/api/v1/hosting/redirects
List, create or delete URL redirects
W
POST
/api/v1/hosting/domains
List, create or update addon domains
W
POST
/api/v1/hosting-sso/actions/login-link
Single-use DirectAdmin login URL
W
POST
/api/v1/hosting/actions/temporary-url
Temporary preview URL for a domain
W
PUT
/api/v1/hosting/hotlink-protection
Read or set hotlink protection
W
PATCH
/api/v1/hosting/domains
List, create or update addon domains
W
DELETE
/api/v1/hosting/pointers
Delete a domain pointer
W
DELETE
/api/v1/hosting/domains
Hold an addon-domain deletion for confirmation
W
DELETE
/api/v1/hosting/redirects
List, create or delete URL redirects
W