DELETE /2/lists/:id/members/:user_id

Enables the authenticated user to remove a member from a List they own.

Endpoint URL

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

Authentication and rate limits

Authentication methods
supported by this endpoint

OAuth 2.0 Authorization Code with PKCE

Rate limit

User rate limit (OAuth 2.0 user Access Token): 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 you are removing a member from.
user_id
 Required 
stringThe ID of the user you wish to remove as a member of the List.


Example requests

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

Example responses

      {
  "data": {
    "is_member": false
  }
}
    

Response fields

NameTypeDescription
is_memberbooleanIndicates whether the member specified in the request has been removed from the List.