---
title: "Revoke a team API key"
method: DELETE
path: "/organizations/{orgId}/api-keys/{keyId}"
tags: ["organizations"]
---

# Revoke a team API key

`DELETE /organizations/{orgId}/api-keys/{keyId}`

Deletes an API key belonging to the organization. Requires admin role.

## Path parameters

- `orgId` string, required
- `keyId` string, required

## Response `200`

API key revoked

- object
  - `success` boolean, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden — user is not an admin
- `404` — API key not found in this organization

## Changes

- **2026-04-09** `ca0e2e65019d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/changes/organizations/:orgId/api-keys/:keyId/delete.md)

---

[API](https://skmtc.dev/smithery-ai/apis/smithery-platform-api.md) · [All operations](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/revisions/01f97a60fd96?raw)
