curl --request POST \
--url https://api.ubicloud.com/project/{project_id}/location/{location}/firewall/{firewall_reference}/detach-subnet \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"private_subnet_id": "<string>"
}
'{
"description": "<string>",
"firewall_rules": [
{
"cidr": "<string>",
"id": "fraz0q3vbrpa7pkg7zbmah9csn",
"port_range": "<string>",
"description": "<string>"
}
],
"id": "fwfg7td83em22qfw9pq5xyfqb7",
"location": "<string>",
"name": "<string>",
"private_subnets": [
"<string>"
]
}curl --request POST \
--url https://api.ubicloud.com/project/{project_id}/location/{location}/firewall/{firewall_reference}/detach-subnet \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"private_subnet_id": "<string>"
}
'{
"description": "<string>",
"firewall_rules": [
{
"cidr": "<string>",
"id": "fraz0q3vbrpa7pkg7zbmah9csn",
"port_range": "<string>",
"description": "<string>"
}
],
"id": "fwfg7td83em22qfw9pq5xyfqb7",
"location": "<string>",
"name": "<string>",
"private_subnets": [
"<string>"
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The Ubicloud location/region
"eu-central-h1"
ID of the project
"pjkkmx0f2vke4h36nk9cm8v8q0"
Firewall ID or name Resource ID or name
Private subnet id to detach
A Firewall (detailed)
Description of the firewall
List of firewall rules
Show child attributes
ID of the firewall
"fwfg7td83em22qfw9pq5xyfqb7"
Location of the the firewall
Name of the firewall
List of private subnets