Employers
Deactivate an employer
Changed onDisables sign-in and revokes all sessions. Company memberships, claims, and jobs are preserved for a later reactivate. Idempotent: an already-deactivated employer returns 200 with the unchanged employer. Requires employers.manage. The request is idempotent when an Idempotency-Key header is supplied.
post/employers/{id}/deactivate
Request
- Base URL: https://api.cavuno.com/v1
- URL: https://api.cavuno.com/v1/employers/{id}/deactivate
- Auth: HTTP bearer
Path parameters
idstring required
The employer id.
Response
Employer deactivated. deactivatedAt is set. Sign-in is blocked and sessions are revoked.
Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info