Notifications
Pause or resume a notification method
Changed onResume a notification method that was suspended after repeated delivery failures, or pause / resume it yourself.
LeakRadar suspends a method when its deliveries keep failing in a way that shows the destination is broken (deleted webhook, revoked bot token, endpoint down for a day). A suspended method is retried every few hours and resumes on its own as soon as one delivery goes through; editing its destination or a successful test also resumes it. Notifications using a suspended or paused method keep running: their results stay in the monitoring history, they are just not sent.
Errors
- 401 Authentication required.
- 404 Notification method not found.
patch/notification_methods/{method_id}/active
Request
- Base URLhttps://api.leakradar.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
method_idinteger required
ID of the notification method.
Request body
Example request
{
"is_active": true
}Response
Method updated; the body is the method with its new status.
Changes
- info
endpoint added
- info