url or events must be provided. When events is sent, it replaces the full set of subscribed event types — it is not additive.
Request body fields
Example: change URL only
Example: replace subscribed events
Example: replace with a wildcard
Subscribe to every event in a family by using a<namespace>.* wildcard. Wildcards work for all event families (transfer.*, payment.*, account.*, etc.).
Error responses
400— empty patch body (no fields provided).404— subscription not found or not owned by the account.409— subscription is already archived; archived subscriptions cannot be updated.422— unsupported event type or unknown wildcard namespace, oreventsarray was empty when theeventskey was sent.
webhooks:write.