Create security group
Firewall
Create firewall
Create a new security group with a set of inbound/outbound rules.
Optionally seed from a template (template_id from GET /api/v1/security-groups/templates) — its rules are copied as the starting set, then merged with any explicit rules you pass.
POST
Create security group
Updated May 8, 2026
Authorizations
API key for authentication. Each key is bound to a specific account.
Headers
Project ID. Required for all mutating operations (create, delete, power actions, resize).
Body
application/json
Last modified on May 8, 2026