---
title: "Delete a DNS provider"
method: DELETE
path: "/dns-providers/{id}"
tags: ["DNS Providers"]
---

# Delete a DNS provider

`DELETE /dns-providers/{id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/dns-providers/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Response `204`

DNS provider deleted

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Provider not found
- `409`: Provider is still used by domain delivery bindings

## Changes

- **2026-11-09** `12896146b193`: 1 breaking
  - removed the required property `extensions` from the response with the `409` status
- **2026-10-05** `4b228ebed583`: 1 info
  - added the non-success response with the status `409`
- **2026-10-05** `63a80791dc58`: 1 info
  - removed the non-success response with the status `409`
- **2026-10-03** `de8387218c0b`: 1 info
  - added the non-success response with the status `409`
- **2026-04-25** `774be20905f2`: 1 info
  - api operation id `delete_provider` removed and replaced with `delete_dns_provider`

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/dns-providers/:id/delete.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
