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

# Update

> This endpoint update the details of a list.



## OpenAPI

````yaml put /4/list/{list_id}
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}:
    parameters:
      - name: list_id
        in: path
        required: true
        schema:
          type: integer
          example: 8510518
    put:
      tags:
        - LISTS
      summary: Update
      description: This endpoint update the details of a list.
      operationId: update
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                description:
                  type: string
                  example: ''
                name:
                  type: string
                  example: My Cool List
                public:
                  type: boolean
                  example: true
                sort_by:
                  type: string
                  example: original_order.asc
            examples:
              Update:
                value:
                  description: ''
                  name: My Cool List
                  public: true
                  sort_by: original_order.asc
      responses:
        '201':
          description: Update
          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, 03 Mar 2025 10:10:38 GMT
            Server:
              schema:
                type: string
                example: openresty
            Vary:
              schema:
                type: string
                example: Origin
            Via:
              schema:
                type: string
                example: >-
                  1.1 d2a65e6cd7ddc4f5373432734cb3111c.cloudfront.net
                  (CloudFront)
            X-Amz-Cf-Id:
              schema:
                type: string
                example: sWbL2ojHrZm9x18izZsyJZv8KmgFs7wMElEArpomsdXgz6bHDIIO-A==
            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:
                Update:
                  value:
                    status_code: 12
                    status_message: The item/record was updated successfully.
                    success: true
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````