firewall-ruleset
Create firewall ruleset rule
Creates a new firewall ruleset rule by the given {ruleset-uuid}.
post/1.3/firewall-ruleset/{ruleset-uuid}/rule
Request
- Base URL: https://api.upcloud.com
- URL: https://api.upcloud.com/1.3/firewall-ruleset/{ruleset-uuid}/rule
- Auth: HTTP bearer
Path parameters
ruleset-uuidstring uuid required
The unique identifier for the server.
Example:01234567-89ab-cdef-0123-456789abcdef
Firewall ruleset UUID
Request body
Example request
{
"direction": "in",
"action": "accept",
"family": "IPv4",
"protocol": "tcp",
"enabled": false
}Response
Created
Example response
{
"uuid": "16e7d7fc-9a90-4f42-83f5-ea0396f1592b",
"direction": "in",
"action": "accept",
"family": "IPv4",
"protocol": "tcp",
"enabled": false
}Changes
No recorded changes to this operation across all 1 revision of this API.