---
title: "Logout current user (revokes refresh token)"
method: POST
path: "/api/auth/logout"
tags: ["Auth"]
---

# Logout current user (revokes refresh token)

`POST /api/auth/logout`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/auth/logout`
- Auth: none declared

## Request body

- object
  - `refreshToken` string, required: The refresh token to revoke

## Response `200`

Logout successful

---

[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)
