---
title: "Delete a custom domain"
method: DELETE
path: "/organizations/customdomains"
---

# Delete a custom domain

`DELETE /organizations/customdomains`

## Request

- Base URL: `https://api.border0.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.border0.com/organizations/customdomains`
- Auth: API key in header `Authorization`

## Request body

- V1CustomDomain
  - `default` boolean
  - `domain` string

## Response `200`

OK

- object

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

---

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