---
title: "Rotate the encryption key."
method: POST
path: "/api/v1/encryption/rotate-key"
tags: ["Encryption"]
---

# Rotate the encryption key.

`POST /api/v1/encryption/rotate-key`

## Request

- Base URL: `https://api.scalix.world`
- URL: `https://api.scalix.world/api/v1/encryption/rotate-key`
- Auth: HTTP bearer

Rotates the tenant's encryption key.

## Response `200`

Key rotated

## Other responses

- `401`: Missing or invalid API key
- `500`: Internal error

---

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