Self Help Documentation
< All Topics

mysql/assignmysqluser

Description

Assigns a database user to an existing database in an existing SPanel user account.

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 name of the database user to be assigned.
databasestringYesThe name of the database to have the user assigned to.

Example

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

Output

Table of Contents