OverviewPlatformsAPI ReferenceResources
Twitter Engagement

Unfollow a user

DELETEhttps://zernio.com/api/v1/twitter/follow

Unfollow a user on X.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Query parameters

accountIdstringRequired
targetUserIdstringRequired

The X ID of the user to unfollow

Responses

Success· the request worked

Errors· the request failed

DELETE/v1/twitter/follow
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.twitterengagement.unfollowUser({  query: {    accountId: 'account_abc123',    targetUserId: 'targetuser_abc123',  },});console.log(data);
{  "status": "string",  "targetUserId": "string",  "following": true,  "platform": "string"}
OpenAPI specification
Was this page helpful?