RulesRulesCopy PageModify an access control ruleput https://{hostname}/crux/v1/mgmt-pop/services/{id}/rules/{ruleId}Updates an existing access control rule.Path ParamsidstringrequiredA unique identifier for the service.ruleIdstringrequiredA unique identifier for an access control rule.Query ParamscontractIdstringrequiredThe Akamai contract identifier for your Enterprise Application Access product.accountSwitchKeystringFor customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.Body ParamsProperties to create and assign rules to restrict access to an application. Filters are based on username, group name, time, or other conditions.actionintegerenumrequiredThe action the rule takes. Refer to Rule types & actions for more information. Use 1 for access rules.1248163264128256512Show 10 enum valuesdescriptionstring | nullrequiredA description of the rule.global_rulebooleanrequiredWhether to apply a rule globally. You can disable a rewrite rule for a specific content type if global application of a rule results in issues or conflicts with other rewrite rules.truefalsemerge_globalbooleanrequiredWhether to merge with global rules. You can write custom rules that target specific content using the content type and URL or path while applying global rules to non-specified content.truefalsenamestringrequiredlength ≥ 1The rule's name.resource_uriobjectA plural bundle of navigable hypermedia links to other API resources.resource_uri objectrule_typeintegerenumrequiredThe action the rule takes. Refer to Rule types & actions for more information. Use 1 for access rules.1Allowed:1settingsarray of objectsrequiredlength ≥ 1The defined rule settings, such as rule type, operator and value.settings* objectcustombooleanDefaults to false for access rules. Custom content types are used only for rewrite rules.falsetruefalseoperatorstringenumThe logical operator, either == for equal or != for not equal.====!=Allowed:==!=typestringenumThe access control type. Either method, group, clientip, user, country, time, or url.groupmethodgroupclientipusercountrytimeurlAllowed:methodgroupclientipusercountrytimeurlvaluestringThe values for the selected type.ADD objectstatusintegerenumrequiredThe rule status. Either 0 for disabled or 1 for enabled.01Allowed:01tenant_uuidstringThe unique ID of the tenant.uuid_urlstringlength ≥ 1The unique ID of the rule.HeadersacceptstringenumDefaults to application/jsonGenerated from available response content typesapplication/jsonapplication/problem+jsonAllowed:application/jsonapplication/problem+jsonResponses 200Successful response. 400Bad request. 401Unauthorized. 403Forbidden.Updated 4 months ago Create an access control ruleList access control rulesDid this page help you?YesNo