Revokes permissions on table fields from a user.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
WorkspaceId | long | Yes | The ID of the DataWorks workspace with which the MaxCompute project is associated. 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 fields belong. You can log on to the DataWorks console and go to the SettingCenter page to obtain the name of the MaxCompute project that you associate with the workspace. | aMaxcomputeProjectName |
TableName | string | Yes | The name of the MaxCompute table to which the fields belong. You can call the SearchMetaTables operation to query the name of the MaxCompute table. | aTableName |
Columns | string | Yes | The fields for which you want to revoke permissions from a user. Separate multiple fields with commas (,). You can revoke the permissions on the fields only in MaxCompute tables. | id,name |
RevokeUserName | string | No | The Alibaba Cloud account from which you want to revoke permissions. Specify this parameter in the format that is the same as the format of 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 of the user 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 parameters
Examples
Sample success responses
JSON
format
{
"RevokeSuccess": true,
"RequestId": "0bc1ec92159376****"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|