Skip to main content
DELETE
/
x
/
users
/
{id}
/
follow
Unfollow user
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>"
}
'
10 credits per call · All plans from $0.00012/credit
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

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.
Content-Type
string
required
Must be application/json.

Path parameters

id
string
required
The X user ID of the account to unfollow.

Body

account
string
required
X username or account ID of your connected account to act as.

Response

success
boolean
Always true on success.
{
  "success": true
}
Related: Follow User to follow a user, or Get User to look up user details.