---
title: "Unfollow a user"
method: POST
path: "/twitter/unfollow_user_v2"
tags: ["write"]
---

# Unfollow a user

`POST /twitter/unfollow_user_v2`

## Request

- Base URL: `https://api.relayxapi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.relayxapi.com/twitter/unfollow_user_v2`
- Auth: none declared

## Headers

- `x-api-key` string, nullable

## Request body

- UserAction
  - `login_cookie` string, required
  - `user_id` string, required: numeric X user id

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/relayxapi/apis/relayx-x-data-api.md) · [All operations](https://skmtc.dev/relayxapi/apis/relayx-x-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/relayxapi/apis/relayx-x-data-api/revisions/6c9acb520594?raw)
