Appearance
PUT
/admin/auth/users/{userId}/passwordRequired scope:
user:updateSets the user's login password, replacing any previous one and clearing any login lockout. The password is never returned.
Parameters ​
Path parameters
userId stringRequest body ​
JSON
{
"password": "..."
}
Response ​
The password was set.
| Error code | Description |
|---|---|
auth.password.invalid-format | The password must be 8 to 128 characters. |
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. |