Employers

Reactivate an employer

Changed on

Restores sign-in for a previously deactivated employer. Company memberships, claims, and jobs were preserved by deactivate. Sessions revoked by deactivate stay revoked; the employer signs in again. Idempotent: an already-active employer returns 200 with the unchanged employer. Requires employers.manage. The request is idempotent when an Idempotency-Key header is supplied.

post/employers/{id}/reactivate

Request

  • Base URL: https://api.cavuno.com/v1
  • URL: https://api.cavuno.com/v1/employers/{id}/reactivate
  • Auth: HTTP bearer

Path parameters

idstring required

The employer id.

Response

Employer reactivated. deactivatedAt is null. Sign-in is restored.

idstring required

Unique identifier for the employer.

object'employer' required

String representing the object's type.

emailstring required

The employer's email address.

displayNamestring nullable required
avatarUrlstring nullable required
emailVerifiedAtstring nullable required
createdAtstring required
lastActiveAtstring nullable required

ISO-8601 timestamp of the last activity on the board (a sign-in or signed-in use), to the hour, or null.

deactivatedAtstring date-time nullable required

ISO 8601 timestamp when sign-in was disabled, or null when the employer can sign in. Deactivate revokes all sessions and blocks sign-in; company memberships, claims, and jobs are preserved. Reactivate restores sign-in; the employer signs in again to establish a new session.

Changes