---
title: "Delete Secret"
method: DELETE
path: "/v1/secrets/{name}"
tags: ["v1"]
---

# Delete Secret

`DELETE /v1/secrets/{name}`

## Request

- Base URL: `https://api.ellipsis.dev`
- URL: `https://api.ellipsis.dev/v1/secrets/{name}`
- Auth: HTTP bearer

Delete a secret by name.

Refused for session tokens; mutations require an API key or
user token.

## Path parameters

- `name` string, required

## Headers

- `user-agent` string, nullable

## Response `204`

Successful Response

## Other responses

- `401`: The bearer token is missing, invalid, or revoked.
- `403`: The credential may not perform this action, or the account is blocked.
- `422`: Validation Error

---

[API](https://skmtc.dev/ellipsis/apis/ellipsis-rest-api.md) - [All operations](https://skmtc.dev/ellipsis/apis/ellipsis-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ellipsis/apis/ellipsis-rest-api/revisions/344b16df9a1a?raw)
