---
title: "Revoke an API key for an org"
method: PATCH
path: "/orgs/{orgId}/api-keys/revoke/{apiKeyId}"
tags: ["API Key"]
---

# Revoke an API key for an org

`PATCH /orgs/{orgId}/api-keys/revoke/{apiKeyId}`

Revokes an existing API key

#### Scopes
**[Authorization scopes](/cloud/admin/scopes/) required:** `delete:keys:admin`

## Path parameters

- `orgId` string, required
- `apiKeyId` string, required

## Response `204`

Returned if the request is successful.

## Other responses

- `400` — Returned if request is not in correct format.
- `500` — Internal Error

---

[API](https://skmtc.net/atlassian/apis/api-access.md) · [All operations](https://skmtc.net/atlassian/apis/api-access/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/api-access/revisions/412d18f78d91/schema)
