---
title: "Delete a secret. A session that names it afterwards fails instead of starting without it."
method: DELETE
path: "/o/{org}/secrets/{secret}"
tags: ["Secrets"]
---

# Delete a secret. A session that names it afterwards fails instead of starting without it.

`DELETE /o/{org}/secrets/{secret}`

## Request

- Base URL: `https://api.prix.dev`
- URL: `https://api.prix.dev/o/{org}/secrets/{secret}`
- Auth: HTTP bearer

## Response `204`

Deleted.

## Other responses

- `403`: Not its creator or an org admin.
- `404`: `SECRET_NOT_FOUND`.

---

[API](https://skmtc.dev/getrush/apis/rush-api.md) · [All operations](https://skmtc.dev/getrush/apis/rush-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getrush/apis/rush-api/revisions/e351f947926b?raw)
