---
title: "Remove custom domain"
method: DELETE
path: "/api/v1/sites/{subdomain}/domains/{hostname}"
tags: ["domains"]
---

# Remove custom domain

`DELETE /api/v1/sites/{subdomain}/domains/{hostname}`

## Request

- Base URL: `https://slatehut.com`
- URL: `https://slatehut.com/api/v1/sites/{subdomain}/domains/{hostname}`
- Auth: HTTP bearer

## Response `200`

success

---

[API](https://skmtc.dev/slatehut/apis/slatehut-api.md) · [All operations](https://skmtc.dev/slatehut/apis/slatehut-api/llms.txt) · [OpenAPI document](https://skmtc.dev/slatehut/apis/slatehut-api/revisions/32dae277550c?raw)
