Reactivate User

You can use this API request to reactivate and unsuspend a user.

/services/v2/user/[userId]/reactivateUser.json

You can use the following parameters in your reactivate a user request:

Other options: wrap, v1

🚧

Permissions & Notes:

  • You must have the Edit users and groups permission under Site Administration Roles in the Advanced Editor.

  • We added this request in version 1.6.3.

Sample Request

A PUT reactivate a user request to reactivate a user (userId: 97) sent to https://apidocs.cloud.answerhub.com using a human-readable Username/Password (answerhub/answerhub) 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/user/97/reactivateUser.json" -v

In the example above, we reactivated demo3 (user 97) (similar to unsuspension) and they can access the community again. The difference between suspension and deactivation is, the user is usually deactivated because of more destructive behavior or they have left the company. The reactivated user will get included in the user count, thus taking up license capacity again.

Expected Response

Successful Response:

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