# Logout

### Overview

{% hint style="success" %}

### Endpoint

* **Method:** POST
* **URL:** `/api/auth/logout`
  {% endhint %}

### Request Body

```json
{
  "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI1ZWJhYzUzNDk1NGI1NDEzOTgwNmMxMTIiLCJpYXQiOjE1ODkyOTg0ODQsImV4cCI6MTU4OTMwMDI4NH0.m1U63blB0MLej_WfB7yC2FTMnCziif9X8yzwDEfJXAg"
}
```

* **`refreshToken`**: The refresh token associated with the user's current session.

### Responses

#### Success (Code 204)

* **No Content**: The server successfully processed the request, and there is no additional content to send.

### Usage

1. **Send a POST request** to the provided endpoint with the user's refresh token.
2. **Handle the response accordingly** based on success (no content) or not found.

**Note:** Ensure the provided {`refreshToken}` is valid and associated with the user's current session.
