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

# Deactivate an API key

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

## 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}/deactivate`
- Auth: none declared

Deactivate an API key. The key will immediately stop working.
If it's the last active paid key on the org, the Stripe subscription
is canceled (paid-tier billing is org-scoped, not per-key).

## 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)
