---
title: "Rotate environment signing key"
method: POST
path: "/api/auth/settings/rotate-signing-key"
tags: ["Auth - Settings"]
---

# Rotate environment signing key

`POST /api/auth/settings/rotate-signing-key`

## Request

- Base URL: `https://api.ascendkit.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ascendkit.dev/api/auth/settings/rotate-signing-key`
- Auth: API key in header `X-AscendKit-Public-Key` and HTTP bearer

Rotates the RS256 signing key used for access tokens. Existing keys remain valid briefly to cover token and cache overlap.

## Response `200`

Successful Response

- ApiResponse
  - `data` unknown
  - `error` string, nullable
  - `meta` object, nullable

---

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