> ## 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.

# Clear

> This endpoint clear all items from a list.



## OpenAPI

````yaml post /3/list/{list_id}/clear
openapi: 3.0.3
info:
  title: The Movie Database
  description: Reference
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.themoviedb.org
security:
  - bearerAuth: []
tags:
  - name: ACCOUNT
  - name: AUTHENTICATION
  - name: CERTIFICATION
  - name: CHANGES
  - name: COLLECTION
  - name: COMPANIES
  - name: CONFIGURATION
  - name: CREDITS
  - name: DISCOVER
  - name: FIND
  - name: GENRES
  - name: GUEST SESSION
  - name: KEYWORDS
  - name: LISTS
  - name: MOVIE LISTS
  - name: MOVIES
  - name: NETWORK
  - name: PEOPLE
  - name: PEOPLE LISTS
  - name: REVIEWS
  - name: SEARCH
  - name: TRENDING
  - name: TV SERIES LIST
  - name: TV SERIES
  - name: TV SEASONS
  - name: TV EPISODES
  - name: TV EPISODES GROUPS
  - name: WATCH PROVIDERS
paths:
  /3/list/{list_id}/clear:
    parameters:
      - name: list_id
        in: path
        required: true
        schema:
          type: integer
          example: 8504086
    post:
      tags:
        - LISTS
      summary: Clear
      description: This endpoint clear all items from a list.
      operationId: clear
      parameters:
        - name: session_id
          required: true
          in: query
          schema:
            type: string
        - name: confirm
          required: true
          in: query
          schema:
            type: boolean
      responses:
        '201':
          description: Clear
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: string
                example: '94'
            Date:
              schema:
                type: string
                example: Mon, 30 Dec 2024 08:55:50 GMT
            Server:
              schema:
                type: string
                example: openresty
            Vary:
              schema:
                type: string
                example: Origin
            Via:
              schema:
                type: string
                example: >-
                  1.1 58323cef7927326b4721718ec24b0aae.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: xXIudD72ppoN-Cj9S3p5BGU1Ez4oAzaJEmO1L9ngTLd_Sw5QogVr4Q==
            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/"04302547257ccb7e68844cdd59055002"
            vary:
              schema:
                type: string
                example: accept-encoding
          content:
            application/json:
              schema:
                type: object
                properties:
                  status_code:
                    type: number
                    example: 12
                  status_message:
                    type: string
                    example: The item/record was updated successfully.
                  success:
                    type: boolean
                    example: true
              examples:
                Clear:
                  value:
                    status_code: 12
                    status_message: The item/record was updated successfully.
                    success: true
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````