---
title: "Update IP filter"
method: PUT
path: "/api/ip-filters/{ipFilterId}"
tags: ["IP Filters"]
---

# Update IP filter

`PUT /api/ip-filters/{ipFilterId}`

Updates an existing IP filter with new configuration

## Path parameters

- `ipFilterId` string, required

## Request body

- IPFilterCommandDTO — Command DTO for creating or updating an IP filter. Used as the request body for IP filter creation/update endpoints.
  - `address` string, required — A regex pattern matched against the remote client's IP address. A plain IP address (e.g. `192.168.1.1`) is treated as a literal pattern. Use `*` to allow all addresses, or a regex prefix like `192\.168\.` to allow an entire subnet. Both IPv4 and IPv6 addresses (including IPv4-mapped IPv6) are supported.
  - `description` string, required — A description of the purpose or reason for this IP filter.

## Response `204`

IP filter updated successfully

---

[API](https://skmtc.dev/optimistiksas/apis/oibus-api.md) · [All operations](https://skmtc.dev/optimistiksas/apis/oibus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/optimistiksas/oibus-api/revisions/fe8fd32c9fdc/schema)
