---
title: "Remove a parked (aliased) domain"
method: GET
path: "/Park/unpark"
tags: ["Park"]
---

# Remove a parked (aliased) domain

`GET /Park/unpark`

This function unparks (removes the alias for) a domain on the cPanel
account.

**Important:**

- This function removes the alias only. It does **not** remove the
  subdomain that an addon domain is parked on. To remove both, use the
  `AddonDomain::deladdondomain` function instead.
- The account must have either the *Parked Domains* or the *Addon
  Domains* feature.

When you disable the [Web Server role](https://go.cpanel.net/serverroles#roles),
the system **disables** this function.

## Query parameters

- `domain` string, domain, required
- `subdomain` string

## Response `200`

HTTP Request was successful.

- object
  - `data` unknown
  - `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)
