---
title: "Rotate portal endpoint secret"
method: POST
path: "/api/v1/portal/endpoints/{endpointId}/rotate-secret"
tags: ["Portal"]
---

# Rotate portal endpoint secret

`POST /api/v1/portal/endpoints/{endpointId}/rotate-secret`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/portal/endpoints/{endpointId}/rotate-secret`
- Auth: HTTP bearer

A new signing secret, shown in this response only. The old one keeps verifying for 24 hours.

## Path parameters

- `endpointId` string, uuid, required

## Response `200`

OK

---

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