Skip to main content
POST
Create security group
Updated May 8, 2026

Authorizations

X-API-Key
string
header
required

API key for authentication. Each key is bound to a specific account.

Headers

X-Project-ID
string<uuid>
required

Project ID. Required for all mutating operations (create, delete, power actions, resize).

Body

application/json
name
string
required
Required string length: 1 - 64
Example:

"web-server"

description
string
template_id
string

Seed from a template. Template rules are copied, then merged with any explicit rules.

Example:

"web-server"

rules
object[]

Response

Security group created

success
boolean
data
object

A security group — a named set of inbound/outbound rules that can be attached to VM NICs.

Last modified on May 8, 2026