> ## 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 of the items on a list.



## OpenAPI

````yaml get /4/list/{list_id}/clear
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/list/{list_id}/clear:
    parameters:
      - name: list_id
        description: the ID of the custom list
        in: path
        required: true
        schema:
          type: integer
          example: 8504985
    get:
      tags:
        - LISTS
      summary: Clear
      description: This endpoint clear all of the items on a list.
      operationId: create
      responses:
        '200':
          description: Clear
          headers:
            Alt-Svc:
              schema:
                type: string
                example: h3=":443"; ma=86400
            Cache-Control:
              schema:
                type: string
                example: public, max-age=0
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: gzip
            Date:
              schema:
                type: string
                example: Mon, 03 Mar 2025 09:51:19 GMT
            ETag:
              schema:
                type: string
                example: W/"1dc53fcea1c2db106c3a85a62e4385dd"
            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 5f56e7df8387a5dd3295f126e9d480d0.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: UdbSkQ_Hw7FUWfgWqVeqHkvIha5my9P6IoKkF0ORon9trH1d-Mhgbg==
            X-Amz-Cf-Pop:
              schema:
                type: string
                example: LOS50-P2
            X-Cache:
              schema:
                type: string
                example: Miss from cloudfront
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: number
                    example: 8504985
                  items_deleted:
                    type: number
                    example: 1
                  status_code:
                    type: number
                    example: 1
                  status_message:
                    type: string
                    example: Success.
                  success:
                    type: boolean
                    example: true
              examples:
                Clear:
                  value:
                    id: 8504985
                    items_deleted: 1
                    status_code: 1
                    status_message: Success.
                    success: true
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````