firewall-ruleset
List server firewall rules
Returns a list of server firewall rules.
get/1.3/firewall-ruleset/server/{server-uuid}/firewall-rule
Request
- Base URL: https://api.upcloud.com
- URL: https://api.upcloud.com/1.3/firewall-ruleset/server/{server-uuid}/firewall-rule
- Auth: HTTP bearer
Path parameters
server-uuidstring uuid required
The unique identifier for the server.
Example:01234567-89ab-cdef-0123-456789abcdef
Server UUID
Query parameters
limitinteger
Schema for a query parameter specifying the maximum number of entries to return (limit).
Example:10
Number of entries to receive at most.
offsetinteger
Schema for a query parameter specifying the offset for pagination.
Offset for retrieved results.
sortstring
Schema for a query parameter specifying the sort field.
Example:name
Order of returned results.
Response
OK
Example response
{
"firewall_rules": {
"firewall_rule": [
{
"direction": "in",
"action": "accept",
"family": "IPv4",
"protocol": "tcp"
},
{
"direction": "out",
"action": "drop",
"family": "IPv4"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.