ResendInvitation resends the invitation email to a user.
POST/api/v1/auth/users/:id/resend-invitation
Generates a new invitation token and sends a fresh invite email. Useful when the original invitation has expired (72 hours).
Parameters
- id: Required, user ID to resend invitation to
Preconditions
- User must exist and not be deleted
- User must not have already accepted the invitation (no password set)
Side Effects
- Generates new invitation token (expires in 72 hours)
- Sends invitation email via notifications service
Errors
- NOT_FOUND: User does not exist
- FAILED_PRECONDITION: User has already accepted invitation
- PERMISSION_DENIED: Caller lacks users:write permission
Request
Responses
- 200
- default
A successful response.
An unexpected error response.