Resend an invite code for a user
POST/v2/users/:userId/invite_code/resend
deprecated
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Deprecated: Use CreateInviteCode instead.
Resend an invite code for a user to initialize their first authentication method (password, passkeys, IdP) depending on the organization's available methods. A resend is only possible if a code has been created previously and sent to the user. If there is no code or it was directly returned, an error will be returned.
Request​
Responses​
- 200
- 400
- 401
- 403
- 404
- default
OK
The request is malformed.
Returned when the user is not authenticated.
Returned when the user does not have permission to access the resource.
User ID does not exist.
An unexpected error response.