POST
collections/entries/remove
POST collections/entries/remove
Remove the specified Tweet from a Collection.
Use POST collections / entries / curate to remove Tweets from a Collection in bulk.
Resource URL¶
https://api.x.com/1.1/collections/entries/remove.json
Resource Information¶
Response formats | JSON |
Requires authentication? | Yes (user context only) |
Rate limited? | Yes |
Parameters¶
Name | Required | Description | Default Value | Example |
id | required | The identifier of the target Collection. | custom-388061495298244609 | |
tweet_id | required | The identifier of the Tweet to remove. | 390839888012382208 |
Example Request¶
POST https://api.x.com/1.1/collections/entries/remove.json?id=custom-388061495298244609&tweet_id=390890231215292416
Example Response¶
Success:
{
"response": {
"errors": [
]
},
"objects": {
}
}
Failure:
{
"response": {
"errors": [
{
"change": {
"tweet_id": "390890231215292416",
"op": "remove"
},
"reason": "not_found"
}
]
},
"objects": {
}
}