Modify settings for a specific firewall group, such as adding or removing rules. After the update, an ID is returned that can be used to verify the changes.
id string required Example UUID for id
Accept Example Content-Type Example name string required description any required rules array required success boolean timestamp string requestId string data object https://cloud.hostup.se/api/firewall-groups/{id} curl -X PUT "https://cloud.hostup.se/api/firewall-groups/33a92604-2d3a-49c1-b400-78472ff5c1fc" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"description": null,
"rules": [
{
"id": "string",
"type": "string",
"action": "string",
"enable": true,
"pos": 0,
"proto": "string",
"dport": "string",
"sport": "string",
"source": "string",
"dest": "string",
"comment": "string",
"iface": "string",
"macro": "string",
"created_at": "string",
"updated_at": "string"
}
]
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"message": "string",
"id": "string"
}
} {
"name": "string",
"description": null,
"rules": [
{
"id": "string",
"type": "string",
"action": "string",
"enable": true,
"pos": 0,
"proto": "string",
"dport": "string",
"sport": "string",
"source": "string",
"dest": "string",
"comment": "string",
"iface": "string",
"macro": "string",
"created_at": "string",
"updated_at": "string"
}
]
}