Bulk employee leave (company stays active)
POST/v1/companies/:id/employees/leave
Passivates all active employees of the company with the given leave date: the date is saved as their leave date, app logins are disabled and their cards' device authorities are revoked (cards stay assigned). The company itself is not changed. The date must be today or in the past.
Request
Responses
- 200
- 403
- 404
- 422
Processed
PrimaryCompanyProtected
CompanyNotFound
Validation failed (missing or future date)