Invite an admin to the cockpit
Invite a person to your company’s Primo cockpit as an admin (role org:admin), by email or by employee: an employee who already has a Primo login is promoted, anyone else gets Primo’s invitation email, whose text is fixed. Answers ALREADY_IN_COCKPIT, and sends nothing, for a person already in the cockpit on a role other than employee, whose role is left as it is, and ALREADY_INVITED, sending nothing again, for a person whose invitation is still pending. To find an employee by name, use getEmployees with its search first; to list the current admins, use getAdmins.
Authorizations
Body
Response
INVITED: the invitation was sent, or the employee promoted. ALREADY_INVITED: an invitation is still pending, nothing was sent. ALREADY_IN_COCKPIT: already in the cockpit on a role other than employee, nothing was sent.
INVITED, ALREADY_INVITED, ALREADY_IN_COCKPIT