POST /firewalls/{id}/actions/remove_from_resources

Removes a Firewall from multiple resources.

Supported resources:

Error Codes specific to this Call

CodeDescription
firewall_already_removedFirewall is already removed from the resource
firewall_resource_not_foundThe resource the Firewall should be removed from was not found
firewall_managed_by_label_selectorFirewall is applied via a Label Selector and cannot be removed manually

Servers

Path parameters

Name Type Required Description
id Integer Yes

ID of the Firewall.

Request headers

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

Default value: "application/json"

Request body fields

Name Type Required Description
remove_from[] Array Yes

Resources to remove the Firewall from.

remove_from[].label_selector Object No

Label Selector the Firewall is applied to.

Only set for type label_selector, otherwise null.

remove_from[].label_selector.selector String Yes

The selector.

remove_from[].type String Yes

Type of the resource.

Possible values:

  • "server"
  • "label_selector"
remove_from[].server Object No

Server the Firewall is applied to.

Only set for type server, otherwise null.

remove_from[].server.id Integer Yes

ID of the Server.

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.