v1
latestOpenAPI 3.0.02026-07-14800227.2 KBEmployees
Activate an employee.
This endpoint activates a Kenjo employee given by the employeeId. It sends an email to the recipient of the employee email to start the onboarding process. Once the password is filled, the employee changes to 'active' ('isActive' = TRUE). While the employee is not active it is possible to send activation emails.
put/employees/{employeeId}/activate
Path parameters
employeeIdstring required
Example:60a2db290da29e126a18789a
The _id of the employee to send the activation email.
Headers
Authorizationstring required
Example:Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczovL2FwaS5rZW5qby5pbyIsInN1YiI6IjYwZjBhOTE2MjE0OTg3MjU2YmU5YzhmZiIsImF1ZCI6Imh0dHBzOi8vYXBpLmtlbmpvLmlvIiwiaWF0IjoxNjI2Mzg1MTE1LCJuYmYiOjE2MjYzODUxMTUsImV4cCI6MTYyNjU1NzkxNSwiYWNjZXNzVHlwZSI6IkFwaUFjY2VzcyIsInNfb3JnSWQiOiI2MGYwNGVhN2RmN2JhMjFlY2U0YmYzYzIifQ.cxG_7dIS-VbmDXdJuLkekoyuyCIzQG2fMcgc0nkfbWE8cihhcb5FnALbQkjU9b5-qVcEoMHZlSuUA-jMEBMMVQ
A valid bearer token.
Response
OK
string required
Example response
"An email was sent to the employee with the following email lo+testing@jularun.org. The recipient must to provide credentials to finish the activation process."