---
title: "Delete Secret"
method: DELETE
path: "/v1/organizations/secrets/{secret_name}"
tags: ["Organization Secrets"]
---

# Delete Secret

`DELETE /v1/organizations/secrets/{secret_name}`

Delete a secret from organization vault.

**Warning**:
- Deletion is permanent and immediate
- Any api_call stages using this secret will fail
- No confirmation prompt - use with caution

**Use Cases**:
- Remove unused credentials
- Clean up after service decommissioning
- Security incident response

## Path parameters

- `secret_name` string, required

## Response `200`

Successful Response

- SecretResponse — Response for secret operations (NEVER includes actual decrypted value). This response is returned after creating, updating, or deleting a secret. For security, the actual secret value is NEVER included in API responses. Only the secret name and operation status are returned. **Security**: - Decrypted secret values are NEVER included - Only secret name and operation status returned - Actual value only accessible by internal services **Fields**: - secret_name: Name of the secret that was operated on - created: True if secret was created (null for other operations) - updated: True if secret was updated (null for other operations) - deleted: True if secret was deleted (null for other operations)
  - `secret_name` string, required — Name of the secret that was operated on. This is the same name provided in the request. Use this name to reference the secret in api_call stage configuration.
  - `created` boolean, nullable — True if this secret was created, null otherwise. Only set for POST /secrets operations.
  - `updated` boolean, nullable — True if this secret was updated, null otherwise. Only set for PUT /secrets/{name} operations.
  - `deleted` boolean, nullable — True if this secret was deleted, null otherwise. Only set for DELETE /secrets/{name} operations.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/mixpeek/apis/mixpeek-api.md) · [All operations](https://skmtc.net/mixpeek/apis/mixpeek-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixpeek/mixpeek-api/revisions/5d4c905106b4/schema)
