---
title: "Set Campaign Overrides"
method: PUT
path: "/api/v1/alert-notifications/campaigns/{campaign_id}/overrides"
tags: ["alert-notifications"]
---

# Set Campaign Overrides

`PUT /api/v1/alert-notifications/campaigns/{campaign_id}/overrides`

## Request

- Base URL: `https://app.kaminari.ad`
- URL: `https://app.kaminari.ad/api/v1/alert-notifications/campaigns/{campaign_id}/overrides`
- Auth: HTTP bearer

Replace the campaign's notification mode + override list.

## Path parameters

- `campaign_id` string, uuid, required

## Request body

- SetCampaignOverridesRequest: Persist a campaign's notification mode + override list atomically.
  - `mode` 'inherit' | 'override' | 'silence', required: Routing mode a client sends / reads for one campaign. ``INHERIT`` -> fall back to the org-global destinations. ``OVERRIDE`` -> route only to the campaign's explicit destination list. ``SILENCE`` -> send nothing for this campaign. Distinct from :class:`CampaignSettingsMode`, which is the *persisted* enum and has no ``inherit`` member because inherit is the absence of a ``campaign_notification_settings`` row.
  - `destination_ids` string[]
  - `routing_label_key` string, nullable: Route by this scan label key on top of inherit or override: destinations with a label rule on the key receive only scans whose label value matches. Not allowed with silence.

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kaminari/apis/kaminari-ad-api.md) · [All operations](https://skmtc.dev/kaminari/apis/kaminari-ad-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kaminari/apis/kaminari-ad-api/revisions/013f86e2fd32?raw)
