---
title: "Revoke Api Credential"
method: DELETE
path: "/users/me/api-credentials/{credential_id}"
tags: ["users"]
---

# Revoke Api Credential

`DELETE /users/me/api-credentials/{credential_id}`

## Request

- Base URL: `https://api.tickertrac.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tickertrac.com/users/me/api-credentials/{credential_id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Idempotent by design: re-revoking an already-revoked credential is still a 204, so
a panicked owner hitting this twice does not see an error and wonder which call won.
The ownership predicate is in the WHERE clause, so another account's credential id is
a 404 rather than a silent no-op.

## Path parameters

- `credential_id` integer, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tickertrac/apis/tickerrag-api.md) · [All operations](https://skmtc.dev/tickertrac/apis/tickerrag-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tickertrac/apis/tickerrag-api/revisions/3c7eb0f6425d?raw)
