Resend an invitation
POST/users/invitations/:identifier/resend
Resets the token and expiry for an existing invitation and resends the acceptance email. Works on PENDING, EXPIRED, and REVOKED invitations; rejects ACCEPTED ones.
If a different PENDING invitation already exists for the same email in the entity, the resend is rejected to avoid duplicate live invitations.
Always returns 200 with the updated identifier and new expiry.
Requires USER_CREATE permission (same gate as creating invitations).
Request
Responses
- 200
- 401
- 403
- 404
- 409
Invitation resent; new token and expiry applied
Missing/invalid JWT or entity selection
Caller lacks USER_CREATE permission
Invitation not found in this entity (RBAC_INVITATION_NOT_FOUND)
RBAC_INVITATION_ALREADY_ACCEPTED — invitation has already been accepted; RBAC_USER_ALREADY_INVITED — a different PENDING invitation exists for this email in the entity