---
title: "Delete a secret"
method: DELETE
path: "/v1/secrets/{secret_id}"
---

# Delete a secret

`DELETE /v1/secrets/{secret_id}`

Delete a secret from the organization.

## Path parameters

- `secret_id` string, required

## Response `200`

Successful Response

- DeleteSecretResponse — Response for successful secret deletion.
  - `message` string, required

## Other responses

- `422` — Validation Error

---

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