v32

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

Update DDoS protection profile

Updates various aspects of DDoS protection profile including profile template, field values, and activation status. The update process includes comprehensive validation to ensure changes are compatible with the existing configuration and security requirements.

patch/cloud/v1/ddos/profiles/{project_id}/{region_id}/{profile_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

profile_idinteger required

Unique identifier of the specific DDoS protection profile to be operated on

Example:1

Unique identifier of the specific DDoS protection profile to be operated on

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"
  ]
}