---
title: "Rotate Secret"
method: POST
path: "/v1/webhooks/{endpoint_id}/rotate-secret"
tags: ["API v1: webhooks"]
---

# Rotate Secret

`POST /v1/webhooks/{endpoint_id}/rotate-secret`

## Request

- Base URL: `https://tgmarket.io` (the document declares no server; this is the origin it was published from)
- URL: `https://tgmarket.io/v1/webhooks/{endpoint_id}/rotate-secret`
- Auth: none declared

## Path parameters

- `endpoint_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tgmarket/apis/tg-market-api.md) · [All operations](https://skmtc.dev/tgmarket/apis/tg-market-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tgmarket/apis/tg-market-api/revisions/15aba68e1fef?raw)
