Make a User Unfollow a Node

You can use this API request to make a user stop following a specific node.

/services/v2/node/[nodeId]/unfollow.json

You can use the following parameters in your make a user unfollow a node request:

Specific: follower
Other options: wrap

🚧

Permissions & Notes:

  • You must have the Follow questions, users, topics, and categories permission under Standard Roles in the Advanced Editor.

  • In order to use the follower parameter, you must have the Edit users and groups permission.

    • The follower parameter specifies the user that will no longer follow the node.
    • The follower parameter will be the user's userId.
  • We added this request in version 1.6.3.

Sample Request

A PUT make a user unfollow a node request to make the API authenticated user (userId: 7) unfollow a Node (nodeId: 806) sent to https://apidocs.cloud.answerhub.com using a human-readable Username/Password (answerhub/test123) would look like this:

curl 
-u answerhub:test123 
-H "Accept: application/json" 
-H "Content-type: application/json" 
-X PUT "https://apidocs.cloud.answerhub.com/services/v2/node/806/unfollow.json?follower=7" -v

Expected Response

Successful Response:

  • HTTP Status 200 - OK
Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!