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
Example response
{
"data": [
{
"id": "web-server",
"name": "Web Server",
"rules": [
{
"range": "80",
"ip": "0.0.0.0"
}
]
}
]
}