RemoveTenantUsers
Removes users from a specified MaxCompute tenant in batches by account ID.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:RemoveTenantUsers |
update |
*All Resource
|
None | None |
Request syntax
PUT /api/v1/tenants/users HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| tenantId |
string |
No |
The MaxCompute tenant ID. If omitted, the tenant to which the current caller belongs is used. |
1234567890123456 |
| region |
string |
No |
The region ID. If omitted, the region of the current request is used. |
cn-hangzhou |
| body |
string |
No |
The JSON request body. The users field is a list of account ID strings for the users to remove. You can obtain the account IDs by calling ListTenantUsers. |
{"users":["1234567890123457"]} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PopResult |
||
| requestId |
string |
The unique identifier of the API request. You can provide this identifier when troubleshooting call issues. |
0be3e0aa16667684362147582e038f |
| data |
string |
Returns success if the operation succeeds. |
success |
Examples
Success response
JSON format
{
"requestId": "0be3e0aa16667684362147582e038f",
"data": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.