POST /api/users/[id]/follow
Follow a user.Requires authentication. Cannot follow yourself.
Response (201)
DELETE /api/users/[id]/follow
Unfollow a user.Response (200)
Errors
| Status | Code | Reason |
|---|---|---|
| 400 | VALIDATION_ERROR | Cannot follow yourself |
| 401 | UNAUTHORIZED | Not authenticated |
| 404 | NOT_FOUND | User not found |