Grant
Updated at:
Grants permissions to an account.
Debugging
Request parameters
|
Parameter |
Type |
Required |
Example |
Description |
| Action | String | Yes | Grant | The operation that you want to perform. Set the value to Grant. |
| ClusterId | String | Yes | ld-bp150tns0sjxs**** | The ID of the ApsaraDB for HBase cluster. You can call the DescribeInstances operation to query the cluster ID. |
| AccountName | String | Yes | test01 | The account name. |
| Namespace | String | Yes | default | The namespace. You can use the asterisk (*) as a wildcard character to indicate all namespaces. |
| TableName | String | Yes | table | The table name. You can use the asterisk (*) as a wildcard character to indicate all tables. |
| AclActions | String | Yes | READ,WRITE | The permissions. Separate multiple permissions with commas (,).
|
Response parameters
Parameter |
Type |
Example |
Description |
| RequestId | String | 9CBF8DF0-4931-4A54-9B60-4C6E1AB5**** | The request ID. |
Examples
Sample requests
Sample success responses
JSON format
HTTP/1.1 200 OK
Error codes
访问错误中心查看更多错误码。
Is this page helpful?