Firewall Rules

List server firewall rules

List all firewall rules associated with the server.

Processing mode: <small><code>sync</code></small>

get/orgs/{organization}/servers/{server}/firewall-rules

Request

Path parameters

organizationstring required

The organization slug

serverinteger required

The server ID

Query parameters

sortstring

Available sorts are created_at, updated_at. You can sort by multiple options by separating them with a comma. To sort in descending order, use - sign in front of the sort, for example: -created_at.

page[size]integer

The number of results that will be returned per page.

page[cursor]string

The cursor to start the pagination from.

filter[name]string
Example:Allow MySQL

The name of the firewall rule.

filter[status]string
Example:installed

The status of the firewall rule.

filter[ip_address]string
Example:192.168.1.1

The IP address or subnet for the firewall rule.

filter[type]string
Example:allow

The type of the firewall rule.

filter[port]string

The port or port range for the firewall rule.

Response

Paginated set of RuleResource

Example response

{
  "data": [
    {
      "attributes": {
        "name": "Allow HTTP",
        "port": "80",
        "type": "allow",
        "ip_address": "192.168.1.1",
        "status": "installed",
        "created_at": "2025-07-29T09:00:00Z",
        "updated_at": "2025-07-30T09:00:00Z"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.