Description
This function creates a MySQL® 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 |
name |
string |
Required The new user's name. |
A valid database username.
Important: To learn more about database username limits, click the database type to expand the following: MySQL MariaDB
|
dbuser |
password |
string |
Required The new user's password. |
A secure password that meets the server's minimum MySQL password strength requirements. |
12345luggage |
Returns
This function only returns metadata.