---
title: "Rotate Key"
method: POST
path: "/v1/cloud/tenants/{tenant_id}/rotate-key"
tags: ["Cloud Management"]
---

# Rotate Key

`POST /v1/cloud/tenants/{tenant_id}/rotate-key`

## Request

- Base URL: `https://api.grafomem.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.grafomem.com/v1/cloud/tenants/{tenant_id}/rotate-key`
- Auth: none declared

Revoke the current API key and issue a new one. PLATFORM operator, or the tenant itself (keys:admin).

## Path parameters

- `tenant_id` string, required

## Response `200`

Successful Response

- RotateKeyResponse: Returned after a successful key rotation.
  - `tenant_id` string, required
  - `new_api_key` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/grafomem/apis/grafomem-cloud.md) · [All operations](https://skmtc.dev/grafomem/apis/grafomem-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/grafomem/apis/grafomem-cloud/revisions/a472af705375?raw)
