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

# Logout Endpoint

> Logout endpoint is used to terminate a user session against a device, effectively logging the user out. By making a POST request to this endpoint and providing the necessary authorization, the user's session will be ended, ensuring secure access control.



## OpenAPI

````yaml post /auth/logout/
openapi: 3.0.1
info:
  title: Trace Connect API
  version: v1
servers:
  - url: http://localhost:3000/connect/v1
security:
  - Bearer: []
paths:
  /auth/logout/:
    post:
      tags:
        - auth
      description: Get method for logging in user.
      operationId: auth_logout_create
      responses:
        '201':
          description: ''
          content: {}
components:
  securitySchemes:
    Bearer:
      type: apiKey
      name: Authorization
      in: header

````