---
title: "Logout"
method: POST
path: "/v1/auth/logout"
tags: ["Authentication"]
---

# Logout

`POST /v1/auth/logout`

Invalidate the current access token and revoke the refresh token family.

## Request body

- ApiLogoutRequest
  - `refresh_token` string — Refresh token to revoke (optional — revokes the token family)

## Response `200`

A successful response.

- ApiLogoutResponse
  - `success` boolean

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/rise/apis/risex-rest-api.md) · [All operations](https://skmtc.net/rise/apis/risex-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rise/risex-rest-api/revisions/194af8339c0d/schema)
