---
title: "Rotate Api Key"
method: POST
path: "/api/v1/tiers/api-key/rotate"
tags: ["API Tiers"]
---

# Rotate Api Key

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

## Request

- Base URL: `https://geo.sig.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://geo.sig.ai/api/v1/tiers/api-key/rotate`
- Auth: HTTP bearer

Rotate the current user's API key (deactivate old, create new)

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- ApiKeyRotateResponse: Response when rotating API key
  - `api_key` string, required
  - `old_key_expires_at` string, date-time, required
  - `message` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sig/apis/ai-visibility-intelligence-api.md) · [All operations](https://skmtc.dev/sig/apis/ai-visibility-intelligence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sig/apis/ai-visibility-intelligence-api/revisions/3ec39f9be9e0?raw)
