v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
DDoS Protection

Create DDoS protection profile

Creates DDoS protection profile to safeguard a specific resource (instance, bare metal, or load balancer) against DDoS attacks. Resource type is automatically identified based on the IP address.

post/cloud/v1/ddos/profiles/{project_id}/{region_id}

Path parameters

project_idinteger required

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

Example:1

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

region_idinteger required

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

Example:1

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

Request body

profile_templateinteger required

Unique identifier of the DDoS protection template to use for this profile

Example request

{
  "fields": [
    {
      "base_field": 10,
      "field_value": [
        45046,
        45047
      ]
    }
  ],
  "profile_template": 123
}

Response

OK

tasksstring[] required

List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:

  • GET /v1/tasks/{task_id} - Check individual task status and details Poll task status until completion (FINISHED/ERROR) before proceeding with dependent operations.
idstring required

Example response

{
  "tasks": [
    "d478ae29-dedc-4869-82f0-96104425f565"
  ]
}