---
title: "POST /endpoints/{endpointId}/rotate-secret"
method: POST
path: "/endpoints/{endpointId}/rotate-secret"
---

# POST /endpoints/{endpointId}/rotate-secret

`POST /endpoints/{endpointId}/rotate-secret`

## Request

- Base URL: `https://webhook.api.sandbox.cleeng.com`
- URL: `https://webhook.api.sandbox.cleeng.com/endpoints/{endpointId}/rotate-secret`
- Auth: API key in header `X-Publisher-Token`

## Path parameters

- `endpointId` string, required

## Response `200`

Secret rotated successfully

## Other responses

- `404`: Endpoint not found

---

[API](https://skmtc.dev/cleeng/apis/webhooks-api.md) - [All operations](https://skmtc.dev/cleeng/apis/webhooks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cleeng/apis/webhooks-api/revisions/11c3ee3902ce?raw)
