Update Firewall Rule
PATCH
/vpc/firewall-rules/{id}Update a VPC firewall rule
Request
Path Params
id
string <uuid>
required
Firewall Rule id
Example:
aea44433-04a7-4733-b9de-4b10c3f7e740
Body Params application/json
name
string
optional
destination_ports
array[string]
optional
destinations
array [object {2}]
optional
resource_id
string
optional
cidr
string
optional
protocols
array[string]
optional
sources
array [object {2}]
optional
resource_id
string
optional
cidr
string
optional
source_ports
array[string]
optional
Example
{
"name": "mkinf-allow-tcp-udp"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
operation
object
required
completed_at
string
required
metadata
object
required
operation_id
string
required
result
object
required
started_at
string
required
state
string
required
Example
{
"operation": {
"completed_at": "2021-12-03T19:59:34Z",
"metadata": {},
"operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
"result": {},
"started_at": "2021-12-03T19:58:34Z",
"state": "IN_PROGRESS"
}
}
Last modified: 3 months ago