---
title: "Rotate webhook log stream secret"
method: POST
path: "/rotate_webhook_secret/{id}"
tags: ["Log Streams"]
---

# Rotate webhook log stream secret

`POST /rotate_webhook_secret/{id}`

## Request

- Base URL: `https://happy-animal-123.convex.cloud/api/v1`
- URL: `https://happy-animal-123.convex.cloud/api/v1/rotate_webhook_secret/{id}`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - API key in header `Authorization`

Rotate the secret for the webhook log stream.

## Path parameters

- `id` string, required

## Response `200`

- RotateLogStreamSecretResponse
  - `hmacSecret` string, required
  - `logStreamType` 'webhook', required

---

[API](https://skmtc.dev/operatornest/apis/convex-deployment-api.md) · [All operations](https://skmtc.dev/operatornest/apis/convex-deployment-api/llms.txt) · [OpenAPI document](https://skmtc.dev/operatornest/apis/convex-deployment-api/revisions/bd0de6c553a7?raw)
