curl --request GET \
--url https://api.ubicloud.com/project/{project_id}/firewall \
--header 'Authorization: Bearer <token>'
{
"count": 123,
"items": [
{
"description": "<string>",
"firewall_rules": [
{
"cidr": "<string>",
"id": "fraz0q3vbrpa7pkg7zbmah9csn",
"port_range": "<string>"
}
],
"id": "fwfg7td83em22qfw9pq5xyfqb7",
"location": "<string>",
"name": "<string>"
}
]
}
curl --request GET \
--url https://api.ubicloud.com/project/{project_id}/firewall \
--header 'Authorization: Bearer <token>'
{
"count": 123,
"items": [
{
"description": "<string>",
"firewall_rules": [
{
"cidr": "<string>",
"id": "fraz0q3vbrpa7pkg7zbmah9csn",
"port_range": "<string>"
}
],
"id": "fwfg7td83em22qfw9pq5xyfqb7",
"location": "<string>",
"name": "<string>"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the project
"pjkkmx0f2vke4h36nk9cm8v8q0"
A list of Firewalls
The response is of type object
.