---
title: "Logout"
method: POST
path: "/api/auth/logout"
tags: ["Auth API"]
---

# Logout

`POST /api/auth/logout`

Logout (invalidates the token on the client side)

Note: JWTs are stateless, so this endpoint is mainly for logging
and to allow the client to "forget" the token.
For true server-side invalidation, a token blacklist would be needed.

Args:
    credentials: Bearer token from Authorization header

Returns:
    Logout confirmation

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/top-streaming/apis/top-posters-api.md) · [All operations](https://skmtc.dev/top-streaming/apis/top-posters-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/top-streaming/top-posters-api/revisions/f4a4deefa3ca/schema)
