---
title: "handle remove custom domain"
method: DELETE
path: "/api/v1/domain/custom"
tags: ["api/v1/domain"]
---

# handle remove custom domain

`DELETE /api/v1/domain/custom`

#### Controller: 

`github.com/raghavyuva/nixopus-api/internal/features/domain/controller.(*DomainsController).HandleRemoveCustomDomain`

#### Middlewares:

- `github.com/go-fuego/fuego.defaultLogger.middleware`
- `github.com/raghavyuva/nixopus-api/internal/routes.(*Router).SetupRoutes.(*Router).setupAuthentication.func2`
- `github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func1`
- `github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func2`
- `github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func3`

---

## Headers

- `Accept` string

## Response `200`

OK

- MessageResponse — MessageResponse schema
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request _(validation or deserialization error)_
- `500` — Internal Server Error _(panics)_
- `default`

## Changes

- **2026-03-02** `86356bbcc727` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/nixopus/apis/openapi/changes/api/v1/domain/custom/delete.md)

---

[API](https://skmtc.dev/nixopus/apis/openapi.md) · [All operations](https://skmtc.dev/nixopus/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nixopus/openapi/revisions/86356bbcc727/schema)
