Follow User

View as Markdown
Follows or unfollows a user based on the current follow status.

Path parameters

user_idintegerRequired

The ID of the user to follow/unfollow

Request

This endpoint expects an object.
usernamestringRequiredformat: "^[\w.@+-]+$"<=150 characters

Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.

full_namestringOptional<=150 characters

Response

Successfully followed user

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error