---
title: "Rotate an existing API key"
method: POST
path: "/api/v1/platform/developers/keys/{key_prefix}/rotate"
tags: ["Developers", "Developers"]
---

# Rotate an existing API key

`POST /api/v1/platform/developers/keys/{key_prefix}/rotate`

## Request

- Base URL: `https://kokofinance.net` (the document declares no server; this is the origin it was published from)
- URL: `https://kokofinance.net/api/v1/platform/developers/keys/{key_prefix}/rotate`
- Auth: none declared

Rotate a key. Invalidates the old key and returns a new one ONCE.

## Path parameters

- `key_prefix` string, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kokofinance/apis/koko-finance-api.md) · [All operations](https://skmtc.dev/kokofinance/apis/koko-finance-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kokofinance/apis/koko-finance-api/revisions/a5f1170af4d4?raw)
