---
title: "Delete a Secret"
method: DELETE
path: "/groups/{groupId}/apps/{appId}/secrets/{secretId}"
tags: ["secrets"]
---

# Delete a Secret

`DELETE /groups/{groupId}/apps/{appId}/secrets/{secretId}`

Delete a
[Secret](https://www.mongodb.com/docs/atlas/app-services/values-and-secrets/define-and-manage-secrets)
associated with a Atlas App Services App.

## Response `204`

The Secret was successfully deleted.

---

[API](https://skmtc.net/mongodb/apis/mongodb-atlas-app-services-admin-api.md) · [All operations](https://skmtc.net/mongodb/apis/mongodb-atlas-app-services-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mongodb/mongodb-atlas-app-services-admin-api/versions/1365ab72bc03/schema)
