Modify an access control ruleput https://{hostname}/crux/v1/mgmt-pop/services/{id}/rulesUpdates an existing access control rule.Path ParamsidstringrequiredA unique identifier for each access control rule.Query ParamsaccountSwitchKeystringFor 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 ParamsactionintegerenumrequiredThe action the rule takes. Refer to Rule types & actions for more information. Use 1 for access rules.1248163264128256512Show 10 enum valuescreated_atstringISO 8601 timestamp marking the rule's creation.descriptionstring | 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.truefalsemodified_atstring | nullISO 8601 timestamp marking the rule's last modification.namestringrequiredlength ≥ 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.truefalseoperatorstringenumThe logical operator, either == for equal or != for not equal.====!=Allowed:==!=typestringenumThe access control type. Either method, group, client_IP, user, region, country, time or url.groupmethodgroupclient_IPuserregioncountrytimeurlShow 8 enum valuesvaluestringThe 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. 404Not found. 405Method not allowed. 415Unsupported media type.Updated about 1 month ago