Self Help Documentation
< All Topics

mysql/changeuserpass

Description

Changes the password of an existing database user.

Parameters

FieldTypeRequiredDescription
tokenstringYesAuthorizing API token – check API Basics for more information.
accountuserstringYesThe SPanel user account that is being managed or viewed.
actionstringYesThe category and function being executed.
usernamestringYesThe username of the database user to be used.
passwordstringYesThe new password to be set.
hostnamestringNoDefault: localhost. If specified, the database user’s hostname will be set according to the value.

Example

You can find more information about the Endpoint URL in our API Basics article.

Output

Table of Contents