---
title: "Enable or disable a subscription"
method: PATCH
path: "/api/v1/webhooks/{id}"
---

# Enable or disable a subscription

`PATCH /api/v1/webhooks/{id}`

## Request

- Base URL: `https://lyreleads.com`
- URL: `https://lyreleads.com/api/v1/webhooks/{id}`
- Auth: HTTP bearer

Re-enabling also clears the consecutive-failure counter, so a webhook we switched off after a bad deploy starts clean.

## Path parameters

- `id` integer, required

## Request body

- object
  - `enabled` boolean

## Response `200`

Updated

---

[API](https://skmtc.dev/lyreleads/apis/lyre-leads-api.md) · [All operations](https://skmtc.dev/lyreleads/apis/lyre-leads-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lyreleads/apis/lyre-leads-api/revisions/1c7c73cc355f?raw)
