云数据库 TAURUSDB-删除数据库用户的数据库权限:请求示例

时间:2024-12-11 17:00:03

请求示例

删除数据库用户"gaussdb_mysql_user1"的数据库权限。

DELETE https://{endpoint}/v3/054e292c9880d4992f02c0196d3ea468/instances/a23fb62bd61e4e9e9636fd2225f395bein07/db-users/privilege

{
  "users" : [ {
    "name" : "gaussdb_mysql_user1",
    "host" : "127.0.0.1",
    "databases" : [ "test" ]
  } ]
}
support.huaweicloud.com/api-gaussdbformysql/DeleteDatabasePermission.html