• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Twitter REST API Method: DELETE list subscribers

Page history last edited by Raffi Krikorian 14 years, 1 month ago

<< Back to Twitter API Documentation

 

Twitter REST API Method: DELETE /:user/:list_id/subscribers

Unsubscribes the authenticated user form the specified list.

 

URL:

http://api.twitter.com/1/user/list_id/subscribers.format

 

Formats: 

xml, json

 

HTTP Method(s):

DELETE (clients who can not issue DELETE requests can POST with the added parameter _method=DELETE)

 

Requires Authentication (about authentication):

true

 

API rate limited (about rate limiting):

false

 

Parameters:

  • user. Required. The ID or screen name of the list's owner

  • list_id.  Required. The id or slug of the list.
  • id. Required. The ID or screen name of the user to remove from the list.

 

Usage examples:

cURL (about cURL):

curl -u user:password -X DELETE http://api.twitter.com/1/twitterapi/team/subscribers.xml

 

Response (about return values): 

XML example:

<?xml version="1.0" encoding="UTF-8"?>

<list>

  <id>2031945</id>

  <name>team</name>

  <full_name>@twitterapi/team</full_name>

  <slug>team</slug>

  <subscriber_count>3</subscriber_count>

  <member_count>5</member_count>

  <uri>/twitterapi/team</uri>

  <mode>public</mode>

  <user>

    <id>6253282</id>

    <name>Twitter API</name>

    <screen_name>twitterapi</screen_name>

    <location>San Francisco, CA</location>

    <description>The Real Twitter API. I tweet about API changes, service issues and happily answer questions about Twitter and our API. Don't get an answer? It's on my website.</description>

    <profile_image_url>http://a1.twimg.com/profile_images/66883316/twitter_57_normal.png</profile_image_url>

    <url>http://apiwiki.twitter.com</url>

    <protected>false</protected>

    <followers_count>25345</followers_count>

    <profile_background_color>c1dfee</profile_background_color>

    <profile_text_color>000000</profile_text_color>

    <profile_link_color>0000ff</profile_link_color>

    <profile_sidebar_fill_color>e0ff92</profile_sidebar_fill_color>

    <profile_sidebar_border_color>87bc44</profile_sidebar_border_color>

    <friends_count>6</friends_count>

    <created_at>Wed May 23 06:01:13 +0000 2007</created_at>

    <favourites_count>0</favourites_count>

    <utc_offset>-28800</utc_offset>

    <time_zone>Pacific Time (US & Canada)</time_zone>

    <profile_background_image_url>http://a3.twimg.com/profile_background_images/39216023/twitterapi-background-2.png</profile_background_image_url>

    <profile_background_tile>false</profile_background_tile>

    <statuses_count>1132</statuses_count>

    <notifications>false</notifications>

    <geo_enabled>false</geo_enabled>

    <verified>false</verified>

    <following>true</following>

  </user>

</list>

Comments (0)

You don't have permission to comment on this page.