DELETE /2/users/:id/pinned_lists/:list_id

Enables the authenticated user to unpin a List.

Endpoint URL

https://api.twitter.com/2/users/:id/pinned_lists/:list_id

Authentication and rate limits

Authentication methods
supported by this endpoint

OAuth 1.0a User context

Rate limit

User rate limit: 50 requests per 15-minute window

Path parameters

NameTypeDescription
id
 Required 
stringThe user ID who you are unpin a List on behalf of. It must match your own user ID or that of an authenticating user, meaning that you must pass the Access Tokens associated with the user ID when authenticating your request.
list_id
 Required 
stringThe ID of the List that you would like the user id to unpin.


Example requests

      curl -X DELETE "https://api.twitter.com/2/users/2244994945/pinned_lists/1441162269824405510 -H "Authorization: OAuth $OAUTH_SIGNATURE"
    

Example responses

      {
  "data": {
    "pinned": false
  }
}
    

Response fields

NameTypeDescription
pinnedbooleanIndicates whether the user unpinned the specified List as a result of the request.
Was this document helpful?
Thank you

Thank you for the feedback. We’re really glad we could help!

Thank you for the feedback. How could we improve this document?
Thank you for the feedback. Your comments will help us improve our documents in the future.