---
title: "Delete One Project Service Account Secret"
method: DELETE
path: "/api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets/{secretId}"
tags: ["Service Accounts"]
---

# Delete One Project Service Account Secret

`DELETE /api/atlas/v2/groups/{groupId}/serviceAccounts/{clientId}/secrets/{secretId}`

Deletes the specified Service Account secret.

## Path parameters

- `clientId` string, required
- `secretId` string, required
- `groupId` string, required

## Query parameters

- `envelope` boolean
- `pretty` boolean

## Response `204`

No Content

## Other responses

- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Not Found.
- `429` — Too Many Requests.
- `500` — Internal Server Error.

---

[API](https://skmtc.dev/mongodb/apis/atlas-admin-api.md) · [All operations](https://skmtc.dev/mongodb/apis/atlas-admin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mongodb/apis/atlas-admin-api/revisions/e37e8ef8429f?raw)
