Update Conditional Access Policy
Operation description
Update Conditional Access Policy
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
eiam:UpdateConditionalAccessPolicy | update | *ConditionalAccessPolicy acs:eiam:{#regionId}:{#accountId}:instance/{#InstanceId}/conditionalaccesspolicy/{#ConditionalAccessPolicyId} |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceId | string | Yes | Instance ID. | idaas_ue2jvisn35ea5lmthk267xxxxx |
ConditionalAccessPolicyId | string | Yes | Conditional Access Policy ID | cap_11111 |
ConditionalAccessPolicyName | string | Yes | Conditional Access Policy Name | My Policy |
DecisionType | string | Yes | Conditional Access Policy Execution Type | enforcement |
DecisionConfig | object | No | Conditional Access Policy Action Configuration | |
Effect | string | No | Conditional Access Policy Decision Action | allow |
MfaType | string | No | Conditional Access Policy MFA Type | directly_access |
MfaAuthenticationIntervalSeconds | long | No | Conditional Access Policy Re-authentication Interval (seconds) | 300 |
MfaAuthenticationMethods | array | No | Allowed MFA types for the Conditional Access Policy | |
string | No | Allowed MFA types for the Conditional Access Policy, with the following options:
| ia_otp_sms | |
ActiveSessionReuseStatus | string | No | Whether to enable session reuse | enabled |
ConditionsConfig | object | No | Conditional Access Policy Condition Content Configuration | |
Applications | object | No | Target Applications for the Conditional Access Policy | |
IncludeApplications | array | No | Included Applications | |
string | No | Application ID | app_xxxxx | |
ExcludeApplications | array | No | Excluded Applications | |
string | No | Application ID | app_xxxxx | |
Users | object | No | Target Users for the Conditional Access Policy | |
IncludeUsers | array | No | Included Users | |
string | No | User ID | user_xxxxx | |
ExcludeUsers | array | No | Excluded Users | |
string | No | User ID | user_xxxxx | |
IncludeGroups | array | No | Included User Groups | |
string | No | User Group ID | group_xxxxx | |
ExcludeGroups | array | No | Excluded user groups | |
string | No | User group ID | group_xxxxx | |
IncludeOrganizationalUnits | array | No | Included organizations | |
string | No | Organization ID | ou_xxxxx | |
ExcludeOrganizationalUnits | array | No | Excluded organizations | |
string | No | Organization ID | ou_xxxxx | |
NetworkZones | object | No | Network zones for conditional access policy | |
IncludeNetworkZones | array | No | Included network zones | |
string | No | Network zone ID | network_xxxxx | |
ExcludeNetworkZones | array | No | Excluded network zones | |
string | No | Network zone ID | network_xxxxx | |
Priority | integer | No | Priority of the conditional access policy | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A"
}
Error codes
For a list of error codes, visit the Service error codes.