Please note
We recently released manage Lists, a Twitter API v2 endpoint that has similar functionality to this one. The new version is currently in development and serves adequate access for the majority of developers on our platform. While elevated levels of access are coming soon, developers in need of higher levels of access should continue to use this endpoint along with the Twitter API v2 version.
POST lists/subscribers/destroy
Unsubscribes the authenticated user from the specified list.
Resource URL¶
https://api.twitter.com/1.1/lists/subscribers/destroy.json
Resource Information¶
Response formats | JSON |
Requires authentication? | Yes |
Rate limited? | Yes |
Parameters¶
Name | Required | Description | Default Value | Example |
list_id | required | The numerical id of the list. | ||
slug | required | You can identify a list by its slug instead of its numerical id. If you decide to do so, note that you'll also have to specify the list owner using the owner_id or owner_screen_name parameters. | ||
owner_screen_name | optional | The screen name of the user who owns the list being requested by a slug . | ||
owner_id | optional | The user ID of the user who owns the list being requested by a slug . |
Example Request¶
POST https://api.twitter.com/1.1/lists/subscribers/destroy.json?slug=team&owner_screen_name=twitterapi