DELETE /2/lists/:id

Enables the authenticated user to delete a List that they own.

Endpoint URL

https://api.twitter.com/2/lists/:id

Authentication and rate limits

Authentication methods
supported by this endpoint

OAuth 1.0a User Context

OAuth 2.0 Authorization Code with PKCE

Rate limit

User rate limit (OAuth 2.0): 300 requests per 15-minute window per each authenticated user

User rate limit (OAuth 1.0a): 300 requests per 15-minute window per each authenticated user

OAuth 2.0 scopes required by this endpoint

tweet.read

users.read

list.write

Learn more about OAuth 2.0 Authorization Code with PKCE

Path parameters

NameTypeDescription
id
 Required 
stringThe ID of the List to be deleted.


Example requests

      curl -X DELETE "https://api.twitter.com/2/lists/1441162269824405510 -H "Authorization: Bearer $ACCESS_TOKEN"
    
      curl -X DELETE "https://api.twitter.com/2/lists/1441162269824405510 -H "Authorization: OAuth $OAUTH_SIGNATURE"
    

Example responses

      {
  "data": {
    "deleted": true
  }
}
    

Response fields

NameTypeDescription
deletedbooleanIndicates whether the List specified in the request has been deleted.