---
title: "Update ip flood"
method: PUT
path: "/service/{tenant_name}/ddos/dia/{ip_flood_id}"
tags: ["tenant - ip-flood"]
---

# Update ip flood

`PUT /service/{tenant_name}/ddos/dia/{ip_flood_id}`

## Request

- Base URL: `https://docs.zayo.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.zayo.com/service/{tenant_name}/ddos/dia/{ip_flood_id}`
- Auth: HTTP bearer

## Path parameters

- `tenant_name` string, required
- `ip_flood_id` integer, required

## Request body

- NBUpdateIpFloodDiaRequest
  - `option_name` string, nullable
  - `enable` boolean, nullable

## Response `200`

Successful Response

- NBRequestResponse
  - `id` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `status` 'received' | 'in_progress' | 'success' | 'failed' | 'cancelled', required
  - `extra_details` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zayo/apis/niro-api.md) - [All operations](https://skmtc.dev/zayo/apis/niro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zayo/apis/niro-api/revisions/c52ac26e1766?raw)
