---
title: "Set notification active"
method: PATCH
path: "/notifications/{notification_id}/active"
tags: ["Notifications"]
---

# Set notification active

`PATCH /notifications/{notification_id}/active`

Enable or disable a notification by ID.

## Path parameters

- `notification_id` integer, required — ID of the notification.

## Request body

- NotificationStatusUpdateRequest
  - `is_active` boolean, required — Set the notification as active/inactive.

## Response `200`

Status updated successfully.

- object

## Other responses

- `401` — Authentication required.
- `404` — Notification not found.
- `422` — Validation Error

---

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