Skip to main content
PUT
/
service
/
{tenant_name}
/
ddos
/
dia
/
{ip_flood_id}
Update ip flood
curl --request PUT \
  --url https://api.example.com/service/{tenant_name}/ddos/dia/{ip_flood_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "option_name": "<string>",
  "enable": true
}
'
{
  "id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "status": "received",
  "extra_details": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tenant_name
string
required
ip_flood_id
integer
required

Body

application/json
option_name
string | null
enable
boolean | null

Response

Successful Response

id
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
status
enum<string>
required
Available options:
received,
in_progress,
success,
failed,
cancelled
extra_details
Extra Details · object