---
title: "List the reserved subdomain names"
method: GET
path: "/SubDomain/getreservedsubdomains"
tags: ["SubDomain"]
---

# List the reserved subdomain names

`GET /SubDomain/getreservedsubdomains`

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.

## Response `200`

HTTP Request was successful.

- object
  - `data` string[] — One entry for each reserved subdomain label.
  - `errors` string[], nullable
  - `messages` string[], nullable
  - `metadata` object
    - `transformed` integer
  - `status` 0 | 1 — * `1` — Success. * `0` — Failed. Check the `errors` field for more details.
  - `warnings` string[], nullable

---

[API](https://skmtc.net/cpanel/apis/cpanel-uapi.md) · [All operations](https://skmtc.net/cpanel/apis/cpanel-uapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/cpanel-uapi/versions/632e2f8e6d04/schema)
