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

# Logout

> Invalidate the current session token.

Logs out the authenticated user and invalidates the current JWT token.

<Note>
  Requires authentication via `X-API-Key: sf_your_api_key_here`.
</Note>

## Response

<ResponseField name="success" type="boolean">
  `true` on success.
</ResponseField>

<ResponseField name="message" type="string">
  Confirmation message.
</ResponseField>

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