Self Help Documentation
< All Topics

mysql/revokeuseraccess

Description

Removes access for an existing database user from an existing database.

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.
databasestringYesThe name of the database to be used.
usernamestringYesThe username of the database user to be used.
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