Mysql
User Management
Update MySQL user password
Changed onThis function sets a MySQL® database user's password.
Important:
When you disable the MySQL role and remote MySQL is not already configured, the system disables this function.
get/Mysql/set_password
Request
- Base URLhttps://cpanel-server.tld:2083/execute
- AuthHTTP basic
Query parameters
passwordstring password required
Example:12345luggage
The user's new password.
userstring required
Example:dbuser
The MySQL database user.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "set_password",
"module": "Mysql",
"result": {
"status": 1
}
}Changes
- breaking
for the
queryrequest parameterpassword, the format changed from no format topassword
- breaking