---
title: "Enable/disable a webhook endpoint or change its event subscriptions"
method: PATCH
path: "/webhooks/{id}"
---

# Enable/disable a webhook endpoint or change its event subscriptions

`PATCH /webhooks/{id}`

Body: { active?: boolean, event_types?: string[] }. Re-enabling resets the failure count; event_types lets an endpoint opt into events added after it was created (an endpoint keeps the list stored at creation, so older endpoints must PATCH to receive release.stores_added and release.takedown_completed).

## Path parameters

- `id` string, required

## Response `200`

Updated endpoint

---

[API](https://skmtc.dev/once/apis/once-rest-api.md) · [All operations](https://skmtc.dev/once/apis/once-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/once/once-rest-api/revisions/6b7f882e04ff/schema)
