User Activation

This endpoint can be used to activate / unblock a new user using the activation-code received during creation.

Reference

POST /user/activate/

Activate the user

Fields

field type constraints Req
userId int Yes
activationtoken string Yes


Example activating a user

Request

POST /rest/v1/useractivate/ HTTP/2
{
 "userId": 12311,
 "activationtoken": "dk39r89ge9frt89375837g987uf8yr8"
}

Response

{
 "result": false,
 "errors": [
   "invalid activationtoken or token expired"
 ]
}

or

{
 "result": true,
 "errors": [],
 "data": []
}