Update a webhook subscription
Partially updates a webhook subscription. Only the fields present in the request body are changed (URL, subscribed event types, enabled flag, and description). A new URL is revalidated against the SSRF guard. The response omits the signing secret. Requires a Nevermined API key. Requires organization admin privileges. Requires the organization to be on the Premium tier or higher.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Organization ID
"org-abc123"
Webhook subscription ID
"whs-9c2f1a7e"
Body
New destination URL. Subject to the same https:// and SSRF validation as on create.
2048"https://example.com/hooks/nevermined-v2"
Replacement list of event types. An empty array subscribes to all event types.
Event types this subscription should receive. Omit or pass an empty array to subscribe to all event types.
member.invited, member.joined, member.role_changed, member.deactivated, member.reactivated, member.removed, invitation.revoked, invitation.expired, group.created, group.updated, group.deactivated, group.member_added, group.member_removed, group.budget_set, group.budget_threshold_reached, group.budget_exceeded, group.budget_reset, agent.created, plan.created, plan.updated, plan.purchased, customer.added, customer.blocked, customer.unblocked, subscription.upgraded, subscription.downgraded, subscription.canceled, subscription.lapsed, webhook.delivered, webhook.failed, apikey.created, apikey.revoked, credits.redeemed Enable or disable delivery. When false, the dispatcher skips this subscription.
true
Updated human-readable label shown in the dashboard.
"Billing notifications (prod)"
Response
Updated webhook subscription with the signing secret omitted
Related topics
Get a webhook subscriptionDelete a webhook subscriptionCreate a webhook subscriptionList webhook subscriptionsList deliveries for a webhook subscription