Toggle follow/unfollow a user​
Toggle follow/unfollow a user
Path Parameters
followeeId string required
ID of the user to follow/unfollow
application/json
Request Body
Optional action specification (follow/unfollow)
action string
Possible values: [follow, unfollow]
The intended action: follow or unfollow
Responses
- 200
- 400
Follow status toggled successfully
application/json
Schema
Example (from schema)
Schema
followed boolean
{
"followed": true
}
User already followed/unfollowed
application/json
Schema
Example (from schema)
Schema
success boolean
{
"success": false
}
Loading...