---
title: "Revoke one of the current user's API tokens"
method: DELETE
path: "/v1/organizations/{organization_id}/user-api-keys/{key_id}"
---

# Revoke one of the current user's API tokens

`DELETE /v1/organizations/{organization_id}/user-api-keys/{key_id}`

## Request

- Base URL: `https://app.ohmyho.st`
- URL: `https://app.ohmyho.st/v1/organizations/{organization_id}/user-api-keys/{key_id}`
- Auth: HTTP bearer

Requires a current interactive session. Verifies user and organization ownership before provider deletion. Replay and an already absent token have the same result. Does not revoke another user's token or the current login session.

## Path parameters

- `organization_id` string, required
- `key_id` string, required

## Headers

- `X-Request-Id` string

## Response `204`

The requested token is absent from the current user's scope.

## Other responses

- `400`: The request failed.
- `401`: The request failed.
- `403`: The request failed.
- `404`: The resource does not exist or is not visible to the authenticated principal.
- `429`: The request failed.
- `503`: The request failed.

---

[API](https://skmtc.dev/ohmyho/apis/ohmyho-st-api.md) · [All operations](https://skmtc.dev/ohmyho/apis/ohmyho-st-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ohmyho/apis/ohmyho-st-api/revisions/d069888c0017?raw)
