---
title: "Rotate a signing secret (public API)"
method: POST
path: "/projects/{project}/webhooks/{webhook}/secrets/{secret}/rotate"
tags: ["public", "webhooks"]
---

# Rotate a signing secret (public API)

`POST /projects/{project}/webhooks/{webhook}/secrets/{secret}/rotate`

## Path parameters

- `project` string, required
- `webhook` string, required
- `secret` string, required

## Request body

- object
  - `label` string
  - `expiresAt` string

## Response `200`

OK

- object
  - `id` string, required
  - `secret` string, required
  - `label` string, nullable, required
  - `expiresAt` string, nullable, required

---

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