---
title: "Unlink domain from website"
method: DELETE
path: "/api/agency-hosting/v1/websites/{website_uid}/domains/{domain}"
tags: ["Agency Hosting: Domains"]
---

# Unlink domain from website

`DELETE /api/agency-hosting/v1/websites/{website_uid}/domains/{domain}`

Unlinks a domain from the specified Agency Plan website.

The website stops serving traffic on this domain immediately.

Website files and database are preserved, and any other linked domains remain accessible.

If this is the only domain on the website, unlinking leaves the website without an accessible domain.

## Path parameters

- `website_uid` string, required
- `domain` string, required

## Response `200`

Success empty response

- CommonSuccessEmptyResource
  - `message` string

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

## Changes

- **2026-08-13** `5a5a54ce5eb4` — 1 info
  - api operation id `agency-hosting_unlinkDomainFromAgencyPlanWebsiteV1` removed and replaced with `agency-hosting_unlinkDomainFromWebsiteV1`
- **2026-07-10** `4225b85b62f6` — 1 info
  - endpoint added
- **2026-06-09** `d05574986eb1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/hostinger/apis/hostinger-api/changes/api/agency-hosting/v1/websites/:website_uid/domains/:domain/delete.md)

---

[API](https://skmtc.dev/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.dev/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/260abb16cd9b/schema)
