---
title: "Revoke Api Key"
method: DELETE
path: "/service-accounts/{service_account_id}/api-keys/{key_id}"
tags: ["service-accounts"]
---

# Revoke Api Key

`DELETE /service-accounts/{service_account_id}/api-keys/{key_id}`

## Path parameters

- `service_account_id` string, required
- `key_id` string, required

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

## Changes

> 57 revisions in range; 9 not diffed.

- **2026-09-09** `50f9ba1b135c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/traversal/apis/fastapi/changes/service-accounts/:service_account_id/api-keys/:key_id/delete.md)

---

[API](https://skmtc.dev/traversal/apis/fastapi.md) · [All operations](https://skmtc.dev/traversal/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc.dev/traversal/apis/fastapi/revisions/c3bd9dec6c16?raw)
