POST /service/{service_id}/wafs/{firewall_id}/rule_statuses

Create or update all rule statuses for a particular service and firewall, based on tag name. By default, only rule status for enabled rules (with status log or block) will be updated. To update rule statuses for disabled rules under the specified tag, use the force attribute.

Authorization: Requires API token, API token with at least Engineer permissions.

Servers

Path parameters

Name Type Required Description
firewall_id String Yes
service_id String Yes

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

host String No

Query parameters

Name Type Required Description
force String No

Whether or not to update rule statuses for disabled rules. Optional.

name String No

The tag name to use to determine the set of rules to update. For example, OWASP or language-php.

Request body fields

Name Type Required Description
data Object No
data.attributes Object No
data.attributes.force Boolean No
data.attributes.name String No
data.attributes.status String No
data.type String No

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.