Invokes this operation to revoke application authorization from a specified account identity (Resource Access Management (RAM) user or RAM role).
Operation description
If the policy name is VODAppAdministratorAccess, AppId is optional. For other policies, AppId is required.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DetachAppPolicyFromIdentity |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| IdentityType |
string |
Yes |
The identity type. Valid values:
|
RamUser |
| IdentityName |
string |
Yes |
The identity name.
|
test****name |
| AppId |
string |
No |
The application ID. If the policy name is VODAppAdministratorAccess, this parameter is optional. For other policies, this parameter is required.
|
app-**** |
| PolicyNames |
string |
Yes |
The policy names. Separate multiple names with commas (,). Only system policies are supported. Valid values:
|
VODAppFullAccess |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
25818875-5F78-4A13-****-D7393642C |
| NonExistPolicyNames |
array |
The policy names that do not exist. |
|
|
string |
The policy names that do not exist. |
test****1 |
|
| FailedPolicyNames |
array |
The policy names that failed to be revoked. |
|
|
string |
The policy names that failed to be revoked. |
test****2 |
Examples
Success response
JSON format
{
"RequestId": "25818875-5F78-4A13-****-D7393642C",
"NonExistPolicyNames": [
"test****1"
],
"FailedPolicyNames": [
"test****2"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.