---
title: "Update rotate secret"
method: PATCH
path: "/webhook-endpoints/{id}/rotate-secret"
tags: ["Other"]
---

# Update rotate secret

`PATCH /webhook-endpoints/{id}/rotate-secret`

## Request

- Base URL: `https://api.markmesh.com/v1`
- URL: `https://api.markmesh.com/v1/webhook-endpoints/{id}/rotate-secret`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Issue a new signing secret. The previous one stops verifying immediately; the new one is returned on this response only.

## Path parameters

- `id` string, uuid, required

## Response `200`

Success

## Other responses

- `401`: API key or session credential missing, invalid, expired, or revoked
- `404`: Resource not found, or not visible to this actor
- `422`: Validation error — field-level detail in the response body

---

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