> ## Documentation Index
> Fetch the complete documentation index at: https://docs.snipp.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# Unfollow User

Unfollow a user, or remove one of your own followers.

## Behavior

* Pass `targetId` to stop following that user.
* Pass `removeFollower` to remove that user from your own followers list. They will need to follow you again to see your posts in their feed.
* Exactly one of `targetId` or `removeFollower` must be provided. If both are present, `removeFollower` takes precedence.
* Unfollowing a user who is not followed succeeds without error.

## Examples

Unfollow a user you currently follow:

```bash theme={null}
curl -X POST "https://relay.snipp.gg/unfollow" \
  -H "relay-key: YOUR_RELAY_KEY" \
  -H "Content-Type: application/json" \
  -d '{"targetId": "123456789012345678"}'
```

Remove a follower:

```bash theme={null}
curl -X POST "https://relay.snipp.gg/unfollow" \
  -H "relay-key: YOUR_RELAY_KEY" \
  -H "Content-Type: application/json" \
  -d '{"removeFollower": "123456789012345678"}'
```

## Responses

Unfollow:

```json theme={null}
{
  "following": false
}
```

Remove follower:

```json theme={null}
{
  "removed": true
}
```
