unfollow_user
Unfollow any account on X by providing the user ID or username. Remove unwanted connections programmatically.
Instructions
Unfollow a user on X programmatically via API
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | Numeric ID of the account to unfollow. Provide either user_id or username. | |
| username | No | Handle (without @) of the account to unfollow. Provide either user_id or username. |