> ## Documentation Index
> Fetch the complete documentation index at: https://usegately.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Logout

> End a user session

Log out a user and invalidate their session token.

## Response

<ResponseField name="success" type="boolean">
  Whether the logout was successful
</ResponseField>

<RequestExample>
  ```bash theme={null}
  curl -X POST "https://api.usegately.com/api/v1/auth/logout" \
    -H "Authorization: Bearer USER_JWT_TOKEN"
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "success": true,
    "message": "Logged out successfully"
  }
  ```
</ResponseExample>
