API
Resend an invitation
POST
https://lemurseye.com/api/v1/users/{id}/inviteSends the set-password email again, with a fresh 3-day link: for a lost or expired link, or when the first email failed. Only for someone who has not set a password yet. No body.
Permission: users:write (a person only, never an API key). The token is sent as Authorization: Bearer <token>; see Authentication.
Path parameters
idstringrequiredThe user's id.
Response
204 Sent. No body.
Errors
A refusal by the rules comes back as { "error": "...", "code": "..." }: branch on code, show error. Where no message is listed, only the status code is returned.
- 404
No user with this id in your company.
- 409
not_pendingThis person has already set a password; there is no invitation to resend.They have already accepted.
- 502
email_failedThe invitation email could not be sent. Try again later, or delete the invitation and invite with a temporary password.The mail service refused it.
- 401
No token, or it has expired.
- 403
The token lacks the permission above.