---
title: "Revoke an API key"
method: DELETE
path: "/v1/api-keys/{kid}"
tags: ["API Keys"]
---

# Revoke an API key

`DELETE /v1/api-keys/{kid}`

## Request

- Base URL: `https://api.banksync.io`
- URL: `https://api.banksync.io/v1/api-keys/{kid}`
- Auth: HTTP bearer

## Path parameters

- `kid` string, required: Key ID to revoke

## Response `200`

API key revoked

- object
  - `success` true, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden (Admin+ required)
- `404`: Not found

---

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