POST
/
cloud
/
v1
/
ddos
/
profiles
/
{project_id}
/
{region_id}
/
{profile_id}
/
action
curl --request POST \
  --url https://api.gcore.com/cloud/v1/ddos/profiles/{project_id}/{region_id}/{profile_id}/action \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "active": true,
  "bgp": true
}'
{
  "tasks": [
    "d478ae29-dedc-4869-82f0-96104425f565"
  ]
}

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

Project ID

region_id
integer
required

Region ID

profile_id
integer
required

Protection profile identifier

Body

application/json

Response

200
application/json

List of created tasks

The response is of type object.