> ## Documentation Index
> Fetch the complete documentation index at: https://task-social.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Log out

> Clears the authentication cookie.



## OpenAPI

````yaml /openapi-bundled.yaml post /api/v1/auth/logout
openapi: 3.1.0
info:
  title: TaskSocial API
  version: 1.0.0
  description: REST API for TaskSocial, a social accountability application.
servers:
  - url: https://tasksocial-production.up.railway.app
    description: TaskSocial production API
security: []
tags:
  - name: Authentication
    description: User registration and authentication
  - name: Tasks
    description: Task creation and management
paths:
  /api/v1/auth/logout:
    post:
      tags:
        - Authentication
      summary: Log out
      description: Clears the authentication cookie.
      operationId: logoutUser
      responses:
        '200':
          description: Logged out successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                message: Logged out successfully
components:
  schemas:
    Error:
      type: object
      properties:
        message:
          type: string

````