---
title: "Changes to POST /api/v1/{context_id}/keys/{key_name}/rotate"
method: POST
path: "/api/v1/{context_id}/keys/{key_name}/rotate"
---

# Changes to POST /api/v1/{context_id}/keys/{key_name}/rotate

`POST /api/v1/{context_id}/keys/{key_name}/rotate`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 5 revisions.

- **2026-08-24** `9f1598713067`: 1 info
- **2026-06-16** `52b41ab517b6`: 1 info
- **2026-06-08** `741d58b9ef89`: 1 breaking

## Changes

- **2026-08-24** `9f1598713067`: 1 info
  - added the non-success response with the status `503`
- **2026-06-16** `52b41ab517b6`: 1 info
  - endpoint added
- **2026-06-08** `741d58b9ef89`: 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/surrealdb/apis/spectron/docs/api/v1/:context_id/keys/:key_name/rotate/post.md) - [API](https://skmtc.dev/surrealdb/apis/spectron.md) - [Page](https://skmtc.dev/surrealdb/apis/spectron/changes/api/v1/:context_id/keys/:key_name/rotate/post)
