---
title: "Delete a secret"
method: DELETE
path: "/servers/{qualifiedName}/secrets/{secretName}"
tags: ["servers"]
---

# Delete a secret

`DELETE /servers/{qualifiedName}/secrets/{secretName}`

Remove a secret by name.

## Path parameters

- `qualifiedName` string, required
- `secretName` string, required

## Response `200`

Secret deleted

- object
  - `success` boolean, required

## Other responses

- `404` — Server not found

## Changes

- **2026-01-25** `55f4a37b970f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/changes/servers/:qualifiedName/secrets/:secretName/delete.md)

---

[API](https://skmtc.dev/smithery-ai/apis/smithery-platform-api.md) · [All operations](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/revisions/3f57836881dd?raw)
