Appearance
POST
/admin/auth/users/{userId}/password/_resetRequired scope:
user:updateMails the user a single-use link, valid for 30 minutes, to choose a new password. The current password keeps working until then.
Parameters ​
Path parameters
userId stringResponse ​
The reset link was sent.
| Error code | Description |
|---|---|
auth.invitation.mail-failed | The mail could not be sent. |
auth.invitation.not-signed-in | The user does not sign in with a password yet; send an invitation instead. |
auth.invitation.too-many-requests | Too many links were sent to this user recently. |
auth.user.credentials-managed-elsewhere | The user also belongs to other tenants or is a system administrator; only a system administrator can manage their credentials. |
auth.user.interactive-sign-in-required | Credentials can only be managed from a signed-in session. |
auth.user.not-found | No such user in this tenant. |