Skip to main content
GET
/
cloud
/
v1
/
ddos
/
profile-templates
/
{region_id}
List of available DDoS protection profile templates
curl --request GET \
  --url https://api.gcore.com/cloud/v1/ddos/profile-templates/{region_id} \
  --header 'Authorization: <api-key>'
{
  "fields": [
    {
      "id": 123,
      "name": "<string>",
      "default": "<string>",
      "description": "description",
      "field_type": "int",
      "required": "false",
      "validation_schema": "<unknown>"
    }
  ],
  "id": 123,
  "name": "<string>",
  "description": "description"
}

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

Path Parameters

region_id
integer
required

Region ID

Response

List of profile templates

fields
ClientProfileTemplateFieldSerializer · object[]
required
id
integer
required
Example:

123

name
string
required
Maximum string length: 100
Example:

"ICMP port"

description
string | null
Example:

"description"