---
title: "Remove the custom widget domain"
method: DELETE
path: "/api/v1/chatbots/{id}/custom-domain"
---

# Remove the custom widget domain

`DELETE /api/v1/chatbots/{id}/custom-domain`

## Request

- Base URL: `https://smartwebchat.eu`
- URL: `https://smartwebchat.eu/api/v1/chatbots/{id}/custom-domain`
- Auth: HTTP bearer

Works without a white-label agreement, so a lost agreement can be cleaned up.

## Path parameters

- `id` string, required

## Response `200`

customDomain null

## Other responses

- `401`: Invalid or missing API key, or a read key
- `404`: Chatbot not found (also for a chatbot of another account)
- `429`: Rate limit exceeded: 600 requests per minute per account across all /api/v1/ routes. Wait for the seconds given in Retry-After (60) and retry.

---

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