---
title: "Change webhook / threshold, add or remove wallets, rotate the secret (API key)"
method: PATCH
path: "/api/monitor/subscriptions/{id}"
tags: ["Monitoring"]
---

# Change webhook / threshold, add or remove wallets, rotate the secret (API key)

`PATCH /api/monitor/subscriptions/{id}`

## Request

- Base URL: `https://www.xrplhub.io`
- URL: `https://www.xrplhub.io/api/monitor/subscriptions/{id}`
- Auth: none declared

## Response `200`

Updated subscription; a rotated secret is shown once.

---

[API](https://skmtc.dev/xrplhub/apis/xrplhub-xrplscore-and-prebuilt-xrpl-transactions.md) · [All operations](https://skmtc.dev/xrplhub/apis/xrplhub-xrplscore-and-prebuilt-xrpl-transactions/llms.txt) · [OpenAPI document](https://skmtc.dev/xrplhub/apis/xrplhub-xrplscore-and-prebuilt-xrpl-transactions/revisions/a5d4e13aff32?raw)
