---
title: "Logout current session"
method: POST
path: "/auth/logout"
tags: ["Auth"]
---

# Logout current session

`POST /auth/logout`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/auth/logout`
- Auth: HTTP bearer

Revokes the current refresh token, ending this session

## Response `200`

Logged out successfully

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
