---
title: "List the parked (aliased) domains"
method: GET
path: "/Park/listparkeddomains"
tags: ["Park"]
---

# List the parked (aliased) domains

`GET /Park/listparkeddomains`

This function lists the domains that are parked (aliased) on the cPanel
account's primary domain.

**Note:**

This function lists only the domains parked on the primary domain. Use
the `AddonDomain::listaddondomains` function for the domains parked on a
subdomain.

## Query parameters

- `regex` string
- `return_https_redirect_status` 0 | 1

## Response `200`

HTTP Request was successful.

- object
  - `data` object[] — One entry for each domain parked on the account's primary domain.
    - `basedir` string — The domain's document root, relative to the account's home directory.
    - `can_https_redirect` 0 | 1 — Whether the system can redirect the domain to `HTTPS`. The system only returns this field when you pass the `return_https_redirect_status` parameter. * `1` - The system can redirect the domain. * `0` - The system cannot redirect the domain.
    - `dir` string, path — The absolute path to the domain's document root.
    - `domain` string, domain — The parked domain.
    - `is_https_redirecting` 0 | 1 — Whether the system currently redirects the domain to `HTTPS`. The system only returns this field when you pass the `return_https_redirect_status` parameter. * `1` - The system redirects the domain. * `0` - The system does **not** redirect the domain.
    - `reldir` string — The domain's document root, relative to the account's home directory and prefixed with `home:`.
    - `status` string — The URL that the domain redirects to, or the domain's rewrite status when it does not redirect.
    - `web_subdomain_aliases` string[] — The built-in service subdomain aliases, for example `www`, that the system serves for the parked domain.
  - `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/revisions/632e2f8e6d04/schema)
