Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /api/metastore/auth/permissions/batchrevoke HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Body | object | No | ||
CatalogId | string | No | catalogId | 1344371 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "OK",
"Message": ".",
"RequestId": "C9E535E1-F040-56F4-B4EE-592B555DAE19",
"Success": true,
"BatchGrantRevokeFailureResult": [
{
"GrantRevokeEntry": {
"MetaResource": {
"ResourceType": "TABLE",
"CatalogResource": {
"CatalogId": "1344371"
},
"DatabaseResource": {
"DatabaseName": "default",
"DatabaseWildcard": "*"
},
"TableResource": {
"DatabaseName": "database_test",
"TableName": "test_parquet"
},
"FunctionResource": {
"DatabaseName": "default",
"FunctionName": "default"
},
"ColumnResource": {
"DatabaseName": "default",
"TableName": "test",
"ColumnNames": [
"name"
]
}
},
"Accesses": [
"ALTER/SELECT/CREATE, etc."
],
"DelegateAccesses": [
"ALTER/SELECT/CREATE, etc."
],
"Principal": {
"PrincipalArn": "acs:ram::[AliyunAccountId]:user/username_abc"
},
"Id": ""
},
"ErrorDetail": {
"Code": "401",
"Message": "auth failed"
}
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history