---
title: "Remove a Site hostname mapping"
method: DELETE
path: "/sites/{siteId}/domains/{domainId}"
---

# Remove a Site hostname mapping

`DELETE /sites/{siteId}/domains/{domainId}`

## Request

- Base URL: `https://gringofunnels.com/api/v1`
- URL: `https://gringofunnels.com/api/v1/sites/{siteId}/domains/{domainId}`
- Auth: HTTP bearer

Requires funnels:read and domains:write. Removal stays available after a subscription ends so a customer can always stop serving a hostname. It removes Gringo's mapping, not customer DNS records.

## Response `200`

Domain mapping removed

## Other responses

- `401`: Missing or invalid API key
- `403`: The scoped credential does not grant this operation
- `404`: Domain not found

---

[API](https://skmtc.dev/gringofunnels/apis/gringo-funnels-api.md) · [All operations](https://skmtc.dev/gringofunnels/apis/gringo-funnels-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gringofunnels/apis/gringo-funnels-api/revisions/b57b5e365b56?raw)
