Grant permissions on a database

You must be a system administrator or have 'Grant' permission on the database or have global 'Grant' permission on databases.

Body Params
string
required

ID of the database

Grants
object
required

Array of permissions to be set. Each item must include Principal: User name or role name, PType: User, Role.., Rights: Edit, Delete, Grant

Response

Language
Response
Choose an example:
*/*