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

# Logout

> This endpoint is use to log out a session with its `access token`



## OpenAPI

````yaml delete /4/auth/access_token
openapi: 3.0.3
info:
  title: Version 4
  description: This API is the version 4 of TMDB API
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.themoviedb.org
security:
  - bearerAuth: []
tags:
  - name: ACCOUNT
  - name: AUTH
  - name: LISTS
    description: For this folder, you will need to create an access token
paths:
  /4/auth/access_token:
    delete:
      tags:
        - AUTH
      summary: Logout
      description: This endpoint is use to log out a session with its `access token`
      operationId: logout
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                access_token:
                  type: string
                  example: >-
                    eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIxMzk5ZTI4YjczZjA4M2U0ZTQzMmZmYzUxOTc1YWFmYSIsIm5iZiI6MTc0MDk5MzE2NC45MjI4NzQyLCJqdGkiOiI2N2M1NzBkMTY0NWQ2YzJlYzU0YTlhYTYiLCJzdWIiOiI2NzZhOTUwYmY2OGRjMTE4Zjc3ZWNjMmEiLCJzY29wZXMiOlsiYXBpX3JlYWQiLCJhcGlfd3JpdGUiXSwidmVyc2lvbiI6Mn0.zVFZWfs3wz25844GjtZh41x9J4-8r_rtdvtFRRRe
            examples:
              Logout:
                value:
                  access_token: >-
                    eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIxMzk5ZTI4YjczZjA4M2U0ZTQzMmZmYzUxOTc1YWFmYSIsIm5iZiI6MTc0MDk5MzE2NC45MjI4NzQyLCJqdGkiOiI2N2M1NzBkMTY0NWQ2YzJlYzU0YTlhYTYiLCJzdWIiOiI2NzZhOTUwYmY2OGRjMTE4Zjc3ZWNjMmEiLCJzY29wZXMiOlsiYXBpX3JlYWQiLCJhcGlfd3JpdGUiXSwidmVyc2lvbiI6Mn0.zVFZWfs3wz25844GjtZh41x9J4-8r_rtdvtFRRRe
      responses:
        '200':
          description: Logout
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: br
            Date:
              schema:
                type: string
                example: Mon, 03 Mar 2025 09:16:31 GMT
            Server:
              schema:
                type: string
                example: openresty
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Origin
            Via:
              schema:
                type: string
                example: >-
                  1.1 7e9e069e30b25fca38d3949c59e59802.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: qmzWAidlQjwwoIo-ti3jZyvkuG1iP1sKrqSbEX34UTGn47JiU32ieA==
            X-Amz-Cf-Pop:
              schema:
                type: string
                example: LOS50-P2
            X-Cache:
              schema:
                type: string
                example: Miss from cloudfront
            cache-control:
              schema:
                type: string
                example: public, max-age=0
            etag:
              schema:
                type: string
                example: W/"0566f98871ddfd7f6ade28aaefb5167d"
            vary:
              schema:
                type: string
                example: accept-encoding
          content:
            application/json:
              schema:
                type: object
                properties:
                  status_code:
                    type: number
                    example: 13
                  status_message:
                    type: string
                    example: The item/record was deleted successfully.
                  success:
                    type: boolean
                    example: true
              examples:
                Logout:
                  value:
                    status_code: 13
                    status_message: The item/record was deleted successfully.
                    success: true
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````