Description
This function renames a PostgreSQL® database user.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
oldname |
string |
Required The database user's current name. |
A valid string. Note: If database prefixing is enabled, this parameter must include the database prefix for the account. |
dbuser |
newname |
string |
Required The database user's new name. |
A valid string. Note: If database prefixing is enabled, this parameter must include the database prefix for the account. |
dbuser2 |
password |
string |
Required The database user's new password. |
A secure password. |
12345luggage |
Returns
This function only returns metadata.