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

# Logout

### Overview

To end a user's session and log them out, use the `/auth/signout` endpoint.

### Example Request

<CodeGroup>
  ```bash curl theme={null}
    curl --location --request POST 'https://my-project.fastgenapp.com/auth/signout'
  ```

  ```python python theme={null}
  import requests

  url = "https://my-project.fastgenapp.com/auth/signout"
  payload={}
  headers = {}

  response = requests.request("POST", url, headers=headers, data=payload)
  print(response.text)
  ```
</CodeGroup>
