Change the target URL for a webhook subscription

It is not currently possible to change the event for a given webhook subscription. If you need to do this, create a new subscription and delete the old one.

The URL that should be notified when the event occurs. The URL may contain query parameters. These will be overwritten if the webhook uses the same parameters.

Expected Response

HTTP/1.1 200 OK
Content-Type: application/json
{ "event": "contact.address_update.v1", "href": "", "id": "h-21w-qe71", "last_triggered": null, "target": "" }

Error Responses

400 hooks.invalid_target
The target must be an HTTP or HTTPS URL.