cURL
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": {} }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
received
in_progress
success
failed
cancelled