cURL
curl --request POST \ --url 'https://sandbox.rollfi.xyz/adminPortal#activateUser' \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "method": "activateUser", "user": { "userId": "f9b2507d-c757-4c9a-9e96-0002299fa2f7" } }'
{ "user": { "userId": "f9b2507d-c757-4c9a-9e96-0002299fa2f7", "status": "Active", "message": "The User has been activated successfully." } }
Reactivates a previously deactivated employee or contractor.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The response is of type object.
object