---
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

---

[API](https://skmtc.net/smithery-ai/apis/smithery-platform-api.md) · [All operations](https://skmtc.net/smithery-ai/apis/smithery-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smithery-ai/smithery-platform-api/versions/60b8c3d2fecf/schema)
