Skip to main content
POST
/
fastedge
/
v1
/
admin
/
groups
Add new group
curl --request POST \
  --url https://api.gcore.com/fastedge/v1/admin/groups \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "default_flag": false,
  "descr": "<string>"
}
'
{
  "id": 123,
  "name": "<string>",
  "default_flag": false,
  "descr": "Video streaming customers",
  "client_count": 123,
  "template_count": 123
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Body

application/json

Group description

name
string
required

Group name

default_flag
boolean
default:false

Add new members to the group by default

descr
string

Group description

Response

Group created successfully, returns group metadata

id
integer<int64>
required

Group ID

name
string
required

Group name

default_flag
boolean
default:false
required

Add new members to the group by default

descr
string

Group description

Example:

"Video streaming customers"

client_count
integer

Number of members in the group

template_count
integer

Number of templates in the group