POST
/
3
/
list
/
{list_id}
/
clear
Clear List
curl --request POST \
  --url https://api.themoviedb.org/3/list/{list_id}/clear \
  --header 'Authorization: Bearer <token>'
{
  "status_code": 12,
  "status_message": "The item/record was updated successfully.",
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

session_id
string
required

A token that represents a logged-in user's session after they have authenticated with their TMDB account.

Example:

""

confirm
enum<string>
required

This confirm if you want to clear all the items in the list.

Example:

"true"

list_id
number
required

This is the unique identifier of the list been created

Example:

""

Response

201 - application/json

clear list

status_code
number

An integer value representing the status of the response. A value of 1 is often used to denote a generic success response.

Example:

12

status_message
string

A string providing a brief indication of the status of the request.

Example:

"The item/record was updated successfully."

success
boolean

A boolean value indicating whether the request was successful.

Example:

true