Activate a User
POST {{baseUrl}}/api/v1/users/:userId/lifecycle/activate?sendEmail=true
Activates a user. This operation can only be performed on users with a STAGED
status. Activation of a user is an asynchronous operation. The user will have the transitioningToStatus
property with a value of ACTIVE
during activation to indicate that the user hasn't completed the asynchronous operation. The user will have a status of ACTIVE
when the activation process is complete.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
sendEmail | boolean | (Required) Sends an activation email to the user if true |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"activationToken":"enim dolore","activationUrl":"exercitation cillum"}