Security groups
Create a security group
Creates an empty security group. Add rules with the rule endpoints, then attach it to VMs.
Authorization
bearerAuth AuthorizationBearer <token>
API key created in the portal (Settings → API Keys). Send as Authorization: Bearer <key>.
In: header
Path Parameters
project_uuid*string
Project UUID.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Create a security group.
Response Body
application/json
curl -X POST "https://example.com/cloud/project/string/firewall/groups/" \ -H "Content-Type: application/json" \ -d '{ "display_name": "string" }'{ "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "display_name": "string", "pve_group_name": "string", "comment": "string"}Empty
Empty
Empty