---
title: "Unset function secret"
method: DELETE
path: "/v1/functions/{functionId}/secrets/{key}"
tags: ["Functions"]
---

# Unset function secret

`DELETE /v1/functions/{functionId}/secrets/{key}`

Remove a secret from a function. Doesn't take effect on the running Lambda until the next deploy.

## Path parameters

- `functionId` string, required
- `key` string, required

## Response `204`

Secret removed.

## Other responses

- `401` — Unauthorized.
- `404` — Secret not found.

---

[API](https://skmtc.net/zavudev/apis/zavu-unified-messaging-layer-api.md) · [All operations](https://skmtc.net/zavudev/apis/zavu-unified-messaging-layer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zavudev/zavu-unified-messaging-layer-api/versions/07b87b6ae707/schema)
