---
title: "POST /v1/auth/logout — end the current session."
method: POST
path: "/v1/auth/logout"
tags: ["auth"]
---

# POST /v1/auth/logout — end the current session.

`POST /v1/auth/logout`

## Response `200`

Logged out

- MessageResponse — Simple message response for operations without a body.
  - `message` string, required

## Other responses

- `401` — Unauthorized

---

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