---
title: "Update Exclusion Rule"
method: PATCH
path: "/v1/config/ingestion/exclusions/{id}"
tags: ["Exclusions"]
---

# Update Exclusion Rule

`PATCH /v1/config/ingestion/exclusions/{id}`

Updates an existing exclusion rule

## Path parameters

- `id` string, required

## Request body

- StreamExclusionRequest
  - `hosts` Hosts[]
  - `apps` Apps[]
  - `title` string, required
  - `active` boolean
  - `indexonly` boolean
  - `query` string — Search query.
  - `id` string

## Response `200`

OK

- StreamExclusionRequest
  - `hosts` Hosts[]
  - `apps` Apps[]
  - `title` string, required
  - `active` boolean
  - `indexonly` boolean
  - `query` string — Search query.
  - `id` string

## Other responses

- `400` — Bad request. The rule is invalid. Double check rule and query syntax and try again.
- `500` — Internal server error. The rule could not be updated at this time.

---

[API](https://skmtc.net/mezmo/apis/pipeline-api.md) · [All operations](https://skmtc.net/mezmo/apis/pipeline-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mezmo/pipeline-api/versions/fb2535545d90/schema)
