v1

latestOpenAPI 3.1.22026-08-0611530152.3 KB
Firewall

Configure firewall

Configures the firewall rules. This will reconfigure the firewall - make sure to include all rules in the body, not only the rules you want to add.

Available services: AMQP (5672), AMQPS (5671), HTTPS (443), MQTT (8883), MQTTS (1883), STOMP (61614), STOMPS (61613), STREAM (5552), STREAM_SSL (5551)

Note: This action is asynchronous. The request will return immediately, the process to configure the firewall runs in the background. Until completed, consequent requests will return 400 Bad Request.

post/security/firewall

Request body

ipstring required

A CIDR for which to open the ports for

servicesstring[]

Which services to open up for in the firewall

portsinteger[]

Which ports to open in the firewall

Example request

[
  {
    "ip": "0.0.0.0/0"
  }
]

Response

Firewall configuration initiated