Create an invite code for a user
POST/v2/users/:userId/invite_code
Create an invite code for a user to initialize their first authentication method (password, passkeys, IdP) depending on the organization's available methods. If an invite code has been created previously, it's url template and application name will be used as defaults for the new code. The new code will overwrite the previous one and make it invalid.
Request​
Responses​
- 200
- 403
- 404
- default
OK
Returned when the user does not have permission to access the resource.
Returned when the resource does not exist.
An unexpected error response.