---
title: "Deletes a secret from a feature's copy"
method: DELETE
path: "/lambdas/{privateKey}/features/{feature}/secrets/{name}"
tags: ["Secrets"]
---

# Deletes a secret from a feature's copy

`DELETE /lambdas/{privateKey}/features/{feature}/secrets/{name}`

## Request

- Base URL: `https://genhttp.dev/api/v1`
- URL: `https://genhttp.dev/api/v1/lambdas/{privateKey}/features/{feature}/secrets/{name}`
- Auth: none declared

## Path parameters

- `privateKey` string, required
- `feature` string, required
- `name` string, required

## Response `204`

Done. There is no body.

## Other responses

- `404`: No lambda has this editor key, it has no such feature, or the copy has no secret of that name.

---

[API](https://skmtc.dev/genhttp/apis/genhttp-lambda-api.md) · [All operations](https://skmtc.dev/genhttp/apis/genhttp-lambda-api/llms.txt) · [OpenAPI document](https://skmtc.dev/genhttp/apis/genhttp-lambda-api/revisions/8b36699e03df?raw)
