v12

latestOpenAPI 3.0.3raw.githubusercontent.com2026-06-1811583196.1 KB
Networking

List security group templates

Pre-built security group templates customers can clone when creating a new group (e.g. "Web server", "SSH only", "Database"). Pass the chosen id as template_id on POST /api/v1/security-groups.

get/api/v1/security-groups/templates

Response

List of templates

successboolean

Example response

{
  "data": [
    {
      "id": "web-server",
      "name": "Web Server",
      "rules": [
        {
          "range": "80",
          "ip": "0.0.0.0"
        }
      ]
    }
  ]
}