---
title: "Delete Dns Credential"
method: DELETE
path: "/api/v1/dns-credentials/{credential_id}"
tags: ["dns-credentials"]
---

# Delete Dns Credential

`DELETE /api/v1/dns-credentials/{credential_id}`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/api/v1/dns-credentials/{credential_id}`
- Auth: none declared

Delete a DNS credential.

This will fail if any deployments are using this credential.

## Path parameters

- `credential_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
