---
title: "Remove custom domain"
method: DELETE
path: "/v1/workspace/website/{website_id}/domain"
tags: ["Website Management"]
---

# Remove custom domain

`DELETE /v1/workspace/website/{website_id}/domain`

## Request

- Base URL: `https://api.lindo.ai`
- URL: `https://api.lindo.ai/v1/workspace/website/{website_id}/domain`
- Auth: HTTP bearer

Removes the custom domain from a website, reverting to the default domain.

## Path parameters

- `website_id` string, required: Unique identifier of the website

## Response `200`

Custom domain removed successfully

- WebsiteDomainRemoveResponse
  - `success` true, required: Indicates the operation was successful
  - `result` WebsiteDomainRemoveResult, required
    - `message` string, required: Success message
    - `website_id` string, required: Unique identifier of the website

## Other responses

- `400`: Bad request - website has no custom domain
- `401`: Unauthorized - invalid or missing API key
- `404`: Website not found
- `500`: Internal server error

---

[API](https://skmtc.dev/lindo/apis/lindo-unified-api.md) · [All operations](https://skmtc.dev/lindo/apis/lindo-unified-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lindo/apis/lindo-unified-api/revisions/2672f34525a4?raw)
