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

---

[API](https://skmtc.net/smithery-ai/apis/smithery-platform-api.md) · [All operations](https://skmtc.net/smithery-ai/apis/smithery-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smithery-ai/smithery-platform-api/revisions/60b8c3d2fecf/schema)
