v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
SubDomain

List the reserved subdomain names

This function lists the subdomain labels that the system reserves, and that an account therefore cannot use to create a subdomain.

Note:

The returned labels are not sorted.

get/SubDomain/getreservedsubdomains

Response

HTTP Request was successful.

datastring[]

One entry for each reserved subdomain label.

errorsstring[] nullable
messagesstring[] nullable
status0 | 1
  • 1 — Success.
  • 0 — Failed. Check the errors field for more details.
warningsstring[] nullable

Example response

{
  "data": [
    "www"
  ],
  "status": 1
}