---
title: "Rotate API key"
method: POST
path: "/api/v1/agents/key/rotate"
tags: ["AI Agents"]
---

# Rotate API key

`POST /api/v1/agents/key/rotate`

## Request

- Base URL: `https://coincryptorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://coincryptorank.com/api/v1/agents/key/rotate`
- Auth: none declared

Generates a new API key and invalidates the old one. Use when a key is leaked or periodically.

## Response `200`

---

[API](https://skmtc.dev/coincryptorank/apis/coincryptorank-api.md) · [All operations](https://skmtc.dev/coincryptorank/apis/coincryptorank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/coincryptorank/apis/coincryptorank-api/revisions/680bde53146b?raw)
