Remove an admin from the cockpit
Remove an admin from your company’s Primo cockpit, by email or by adminId (an employee id or an external userId, as getAdmins returns them). An employee admin goes back to the employee role and keeps their employee access; an external admin leaves your company, and their Primo login is deleted when your company was their only one. Answers REMOVED. A person who is not an admin yet but has a pending admin invitation sees it revoked, and the answer is INVITATION_REVOKED. Answers 404 when no admin nor pending invitation matches, and 409 for an admin whose role Primo manages, which is left as it is. To invite an admin, use inviteAdmin.