Unfollow an X user from one of your connected accounts
cURL
curl --request DELETE \ --url https://api.example.com/x/users/{id}/follow \ --header 'Content-Type: <content-type>' \ --header 'x-api-key: <x-api-key>' \ --data ' { "account": "<string>" } '
curl -X DELETE https://xquik.com/api/v1/x/users/44196397/follow \ -H "x-api-key: xq_YOUR_KEY_HERE" \ -H "Content-Type: application/json" \ -d '{ "account": "myxaccount" }' | jq
application/json
true
{ "success": true }
{ "error": "invalid_input", "message": "Invalid user ID or account" }
{ "error": "unauthenticated", "message": "Missing or invalid API key" }
{ "error": "no_subscription", "message": "No active subscription" }
{ "error": "usage_limit_reached", "message": "Monthly usage limit reached" }
{ "error": "x_write_failed", "message": "Failed to complete the action" }
Was this page helpful?