POST
/
cloud
/
v1
/
ddos
/
profiles
/
{project_id}
/
{region_id}
curl --request POST \
  --url https://api.gcore.com/cloud/v1/ddos/profiles/{project_id}/{region_id} \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "bm_instance_id": null,
  "fields": [
    {
      "base_field": 123,
      "field_name": null,
      "field_value": null,
      "value": null
    }
  ],
  "ip_address": "11.111.111.1",
  "profile_template": 123,
  "profile_template_name": null,
  "resource_id": null,
  "resource_type": "instance"
}'
{
  "tasks": [
    "d478ae29-dedc-4869-82f0-96104425f565"
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

project_id
integer
required

Project ID

region_id
integer
required

Region ID

Body

application/json

Response

200
application/json

List of created tasks

The response is of type object.