Huddle01 Cloud
Security groups

Create security group

Create a new security group.

POST
/security-groups
x-api-key<token>

In: header

Query Parameters

regionstring

The region code.

Default"eu2"
namestring
Length1 <= length <= 255
description?string

Response Body

application/json

application/json

application/json

curl -X POST "https://anton-api.huddle01.media/api/v1/security-groups?region=eu2" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "id": "string",
  "name": "string",
  "description": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "region": {
    "name": "eu2"
  }
}
Empty
{
  "status": "HTTP_400",
  "message": "Invalid request",
  "data": {},
  "request_id": "string"
}
{
  "status": "HTTP_400",
  "message": "Invalid request",
  "data": {},
  "request_id": "string"
}