Unfollow User
Causes the source user to unfollow the target user. The source user must match the user context authorizing the request
DELETE
/2/users/{source_user_id}/following/{target_user_id}
curl \
-X DELETE https://api.twitter.com/2/users/2244994945/following/2244994945 \
-H "Authorization: Oauth $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"following": true
},
"errors": [
{
"type": "string",
"title": "string",
"detail": "string",
"status": 42
}
]
}
Response examples (200)
{
"data": {
"following": true
},
"errors": [
{
"type": "string",
"title": "string",
"detail": "string",
"status": 42
}
]
}
Response examples (default)
{
"code": 42,
"message": "string"
}
Response examples (default)
{
"code": 42,
"message": "string"
}