Queries the permissions of an account.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
DBClusterId | string | Yes | The cluster ID. | cc-bp1p816075e21**** |
AccountName | string | Yes | The name of the database account. | test |
Response parameters
Examples
Sample success responses
JSON
format
{
"DdlAuthority": true,
"DmlAuthority": "all",
"RequestId": "F5178C10-1407-4987-9133-DE4DC9119F75",
"TotalDatabases": [
"db1,db2"
],
"TotalDictionaries": [
"dt1,dt2"
],
"AllowDictionaries": [
"dt1"
],
"AllowDatabases": [
"db1"
],
"AccountName": "test"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
500 | InternalError | An error occurred while processing your request. | An error occurred while processing your request. |
503 | ServiceUnavailable | An error occurred while processing your request. | An error occurred while processing your request. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history