RemoveTenantRole
Removes a specified role from a specified MaxCompute tenant.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:RemoveTenantRole |
delete |
*All Resource
|
None | None |
Request syntax
DELETE /api/v1/tenants/roles/{roleName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| roleName |
string |
No |
The name of the tenant role. You can query it by calling ListAllTenantRoles. |
example_reader |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| tenantId |
string |
No |
The ID of the MaxCompute tenant. If omitted, the tenant of the current caller is used. |
1234567890123456 |
| region |
string |
No |
The region ID. If omitted, the region of the current request is used. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PopResult |
||
| requestId |
string |
The unique ID of the API request. You can provide this ID to troubleshoot API 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.