---
title: "Revoke a specific OAuth session by token ID."
method: DELETE
path: "/oauth/sessions/{token_id}"
tags: ["OAuth"]
---

# Revoke a specific OAuth session by token ID.

`DELETE /oauth/sessions/{token_id}`

Args:
    token_id: UUID of the OAuth token to revoke

Returns:
    204 No Content on success
    404 Not Found if session doesn't exist or doesn't belong to user

## Response `204`

No Content

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `405` — Method not allowed
- `409` — Conflict
- `500` — Internal server error
- `default` — Default error response

---

[API](https://skmtc.net/archera/apis/archera-ai-api.md) · [All operations](https://skmtc.net/archera/apis/archera-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/archera/archera-ai-api/versions/ed4f8fa35f31/schema)
