---
title: "Changes to Revoke a service account API key"
method: POST
path: "/api/v0/service-accounts/{serviceAccountId}/api-keys/{keyId}/revoke"
---

# Changes to Revoke a service account API key

`POST /api/v0/service-accounts/{serviceAccountId}/api-keys/{keyId}/revoke`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 63 revisions.

- **2026-11-14** `9fb2e1b1ec61`: 1 info
- **2026-11-12** `b6a46c415079`: 1 breaking, 20 info
- **2026-07-13** `09c8ece419bf`: 1 info

## Changes

- **2026-11-14** `9fb2e1b1ec61`: 1 info
  - added the non-success response with the status `503`
- **2026-11-12** `b6a46c415079`: 1 breaking, 20 info
  - removed the media type `application/json` for the response with the status `204`
  - added the new optional `header` request parameter `X-Factory-Org-Id`
  - added the non-success response with the status `400`
  - added the non-success response with the status `402`
  - added the non-success response with the status `451`
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `403` status
  - added the optional property `code` to the response with the `404` status
  - added the optional property `code` to the response with the `500` status
  - added the optional property `displayToUser` to the response with the `401` status
  - added the optional property `displayToUser` to the response with the `403` status
  - added the optional property `displayToUser` to the response with the `404` status
  - added the optional property `displayToUser` to the response with the `500` status
  - added the optional property `error` to the response with the `401` status
  - added the optional property `error` to the response with the `403` status
  - added the optional property `error` to the response with the `404` status
  - added the optional property `error` to the response with the `500` status
  - added the optional property `requestId` to the response with the `401` status
  - added the optional property `requestId` to the response with the `403` status
  - added the optional property `requestId` to the response with the `404` status
  - added the optional property `requestId` to the response with the `500` status
- **2026-07-13** `09c8ece419bf`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/factory/apis/factory-public-api/docs/api/v0/service-accounts/:serviceAccountId/api-keys/:keyId/revoke/post.md) - [API](https://skmtc.dev/factory/apis/factory-public-api.md) - [Page](https://skmtc.dev/factory/apis/factory-public-api/changes/api/v0/service-accounts/:serviceAccountId/api-keys/:keyId/revoke/post)
