users_change_password
Reset a DirectAdmin user's password from an admin account by specifying the target username and a new password with confirmation.
Instructions
Change another account's password (admin).
Args: username: Target account. Empty / current user uses /api/change-password. new_password: New password. confirm: Required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| username | Yes | ||
| new_password | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |