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.
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.
- HTTP Status 200 - OK