---
title: "Revoke the secret"
method: DELETE
path: "/webhook_secrets"
tags: ["Webhooks"]
---

# Revoke the secret

`DELETE /webhook_secrets`

Revoke the existing webhook secret. If this is called at the rolling secret time, then both old and new secrets will be revoked

## Query parameters

- `old_secret_only` boolean

## Response `200`

Secret has been revoked

## Other responses

- `401` — Unauthorized
- `404` — Resource not found
- `500` — Internal server error

---

[API](https://skmtc.net/synctera/apis/synctera-api.md) · [All operations](https://skmtc.net/synctera/apis/synctera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/synctera/synctera-api/revisions/b0d812e6cdd0/schema)
