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

# Revoke API key

`DELETE /api-keys/{id}`

## Request

- Base URL: `https://us-central1-paymentgateway-ab783.cloudfunctions.net/api`
- URL: `https://us-central1-paymentgateway-ab783.cloudfunctions.net/api/api-keys/{id}`
- Auth: HTTP bearer

Revoke (soft-delete) an API key so it can no longer be used.

## Path parameters

- `id` string, required

## Response `200`

API key revoked

## Other responses

- `401`: Missing or invalid authentication token
- `404`: API key not found
- `500`: Failed to revoke API key

---

[API](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api.md) · [All operations](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api/revisions/53e075911af9?raw)
