---
title: "Delete a signing secret"
method: DELETE
path: "/v1/webhooks/{id}/secrets/{secretId}"
tags: ["Webhooks"]
---

# Delete a signing secret

`DELETE /v1/webhooks/{id}/secrets/{secretId}`

## Request

- Base URL: `https://api.sendora.se`
- URL: `https://api.sendora.se/v1/webhooks/{id}/secrets/{secretId}`
- Auth: HTTP bearer

Deliveries are no longer signed with it from the next one on. The last live secret of a webhook cannot be deleted, so its deliveries always carry a signature.

## Path parameters

- `id` string, uuid, required
- `secretId` string, uuid, required

## Response `204`

Removed. The body is empty.

## Other responses

- `401`: The key is missing, malformed or revoked.
- `403`: The key is of the other kind, or a connected app may not do this here: it is not for connections, the connection may only read here, or it is for test servers only.
- `404`: No such webhook or secret of this server.
- `409`: The only live secret of a webhook cannot be deleted; create another first.

---

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