Update a webhook endpoint
PATCH
/api/v1/admin/webhooks/endpoints/{id}
prm_notifications_manage
Replaces name, url, events and all_events outright, and patches enabled only when it is present. Send the full object, because a missing events array clears the subscription rather than leaving it alone.
This is a PATCH that behaves as a replace for four of its five fields. An update that sends only url wipes the events list.
At a glance
- Authentication
- Staff token or session
- Requires permission
-
prm_notifications_manageManage notification channels & templates - Rate limit
t_mutate
Parameters
| Parameter | Description |
|---|---|
idrequired
path · integer
|
Endpoint id. |