Revokes permissions on a table from a user.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorkspaceId |
integer |
Yes |
The ID of the DataWorks workspace associated with the MaxCompute project. You can log on to the DataWorks console and go to the Workspace page to obtain the ID. |
12345 |
| MaxComputeProjectName |
string |
Yes |
The name of the MaxCompute project to which the table belongs. You can log on to the DataWorks console and go to the SettingCenter page to obtain the name. |
aMaxcomputeProjectName |
| TableName |
string |
Yes |
The name of the MaxCompute table. You can call the SearchMetaTables operation to query the name. |
aTableName |
| Actions |
string |
Yes |
The permissions that you want to revoke. Separate multiple permissions with commas (,). You can revoke only the SELECT, DESCRIBE, and DOWNLOAD permissions on MaxCompute tables. |
Select,Describe |
| RevokeUserName |
string |
No |
The Alibaba Cloud account from which you want to revoke permissions. Use the same format as the account used to access the MaxCompute project.
You must specify either this parameter or the RevokeUserId parameter. If you specify both this parameter and the RevokeUserId parameter and the parameter values are different, the value of the RevokeUserId parameter prevails. |
RAM$dataworks_3h1_1:stsramuser |
| RevokeUserId |
string |
No |
The ID of the Alibaba Cloud account from which you want to revoke permissions. You can log on to the DataWorks console and go to the Security Settings page to obtain the ID. You must specify either this parameter or the RevokeUserName parameter. If you specify both this parameter and the RevokeUserName parameter and the parameter values are different, the value of this parameter prevails. |
267842600408993176 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RevokeSuccess |
boolean |
Indicates whether the permissions are revoked. |
true |
| RequestId |
string |
The request ID. |
0bc1ec92159376**** |
Examples
Success response
JSON format
{
"RevokeSuccess": true,
"RequestId": "0bc1ec92159376****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.