---
title: "Delete credential"
method: DELETE
path: "/api/v1/me/dns-credentials/{id}"
tags: ["DNS Credentials"]
---

# Delete credential

`DELETE /api/v1/me/dns-credentials/{id}`

## Request

- Base URL: `https://api.proof.holdings`
- URL: `https://api.proof.holdings/api/v1/me/dns-credentials/{id}`
- Auth: API key in cookie `auth_token`

Delete a stored DNS provider credential.

## Path parameters

- `id` string, required: MongoDB ObjectId

## Response `200`

Credential deleted

- SuccessResponse: Generic success response
  - `success` boolean, required
  - `message` string

## Other responses

- `404`: Credential not found

---

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