---
title: "Rotate API key"
method: POST
path: "/api/tokens/rotate"
tags: ["Admin"]
---

# Rotate API key

`POST /api/tokens/rotate`

## Response `200`

API key rotated

- object
  - `key` string
  - `masked_key` string
  - `rotated_at` integer
  - `rotated_by` string
  - `message` string

## Other responses

- `401` — Authentication required
- `403` — Insufficient permissions
- `429` — Rate limited

---

[API](https://skmtc.net/builderz-labs/apis/mission-control-api.md) · [All operations](https://skmtc.net/builderz-labs/apis/mission-control-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/builderz-labs/mission-control-api/versions/b920835b2793/schema)
