---
title: "Revoke a project key"
method: DELETE
path: "/v0/projects/{project}/keys/{key}"
tags: ["projects", "keys"]
---

# Revoke a project key

`DELETE /v0/projects/{project}/keys/{key}`

Revoke an API key for a project. Revocation is terminal: a revoked key can no longer authenticate any request, and the revocation cannot be undone. Requires `manage` permission on the project.

## Path parameters

- `key` string, uuid, required
- `project` string, required

## Response `204`

successful deletion

## Other responses

- `4XX` — Error
- `5XX` — Error

## Changes

- **2026-05-05** `80b118546144` — 1 info
  - endpoint added
- **2026-03-20** `36c8ad753527` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/bencherdev/apis/bencher-api/changes/v0/projects/:project/keys/:key/delete.md)

---

[API](https://skmtc.dev/bencherdev/apis/bencher-api.md) · [All operations](https://skmtc.dev/bencherdev/apis/bencher-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bencherdev/bencher-api/revisions/71cd0a41ffd9/schema)
