GET
/
cloud
/
v1
/
ddos
/
profiles
/
{project_id}
/
{region_id}
List DDoS protection profiles
curl --request GET \
  --url https://api.gcore.com/cloud/v1/ddos/profiles/{project_id}/{region_id} \
  --header 'Authorization: <api-key>'
{
  "count": 1,
  "results": [
    {
      "fields": [
        {
          "base_field": 10,
          "default": null,
          "description": "ARK server ports. Valid port values are in range 1000-65535",
          "field_name": "ARK Ports",
          "field_type": null,
          "field_value": "<any>",
          "id": 11,
          "name": "ARK Ports",
          "required": true,
          "validation_schema": "<any>",
          "value": null
        }
      ],
      "id": 0,
      "ip_address": "203.0.113.1",
      "options": {
        "active": true,
        "bgp": true
      },
      "profile_template": {
        "description": "description",
        "fields": [
          {
            "default": null,
            "description": "ARK server ports. Valid port values are in range 1000-65535",
            "field_type": null,
            "id": 11,
            "name": "ARK Ports",
            "required": true,
            "validation_schema": "<any>"
          }
        ],
        "id": 123,
        "name": "ICMP port"
      },
      "profile_template_description": "ARK server ports. Valid port values are in range 1000-65535",
      "protocols": [
        {
          "port": "80",
          "protocols": [
            "TCP",
            "HTTP"
          ]
        },
        {
          "port": "53",
          "protocols": [
            "UDP"
          ]
        }
      ],
      "site": "ED",
      "status": {
        "error_description": "",
        "status": "Updated"
      }
    }
  ]
}

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

project_id
integer
required

Unique identifier of the cloud project that owns the DDoS protection resources

Examples:

1

region_id
integer
required

Unique identifier of the cloud region where DDoS protection operations will be performed

Examples:

1

Response

200 - application/json

OK

The response is of type object.