Revokes permissions on resources from Data Management (DMS) users by using a permission template.
Operation description
You must be a database administrator (DBA) or a DMS administrator. For more information about how to view system roles, see View system roles.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TemplateId | long | Yes | The ID of the permission template. | 1563 |
UserIds | string | Yes | The IDs of users from whom you want to revoke permissions by using a permission template. | [12***,34***,56***] |
Tid | long | No | The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to query the tenant ID. | 3*** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "C51420E3-144A-4A94-B473-8662FCF4AD10",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Result": true,
"Success": true
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-09-20 | The internal configuration of the API is changed, but the call is not affected | View Change Details |