Removes a policy from an access configuration.
Operation description
After you remove an inline policy from an access configuration, the policy cannot be restored.
This topic provides an example on how to remove the system policy AliyunECSFullAccess from the access configuration ac-00jhtfl8thteu6uj****.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:RemovePermissionPolicyFromAccessConfiguration |
delete |
*AccessConfiguration
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DirectoryId |
string |
Yes |
The ID of the directory. |
d-00fc2p61**** |
| AccessConfigurationId |
string |
Yes |
The ID of the access configuration. |
ac-00jhtfl8thteu6uj**** |
| PermissionPolicyType |
string |
Yes |
The type of the policy. Valid values:
|
System |
| PermissionPolicyName |
string |
No |
The name of the policy. |
AliyunECSFullAccess |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
9B13E4EE-3853-5852-9165-597C32AD8FB7 |
Examples
Success response
JSON format
{
"RequestId": "9B13E4EE-3853-5852-9165-597C32AD8FB7"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.