---
title: "Adds current authorization bearer token to the blacklist."
method: POST
path: "/api/v1/me/logout"
tags: ["users"]
---

# Adds current authorization bearer token to the blacklist.

`POST /api/v1/me/logout`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/docs/api/v1/me/logout/post.ts> (a function with typed inputs; its response is checked against the schema)

Enforces user to login again with the new token.

## Response `200`

EmptyResponse is a empty response

## Other responses

- `401`: EmptyResponse is a empty response
- `default`: errorResponse

---

[API](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api.md) - [All operations](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/revisions/815b9bf19db5?raw)
