Edit webhook subscription
PATCH {{baseUrl}}/webhook_endpoints/:id/webhook_subscriptions/:subscription_id?subdomain={{subdomain}}
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
subdomain | string | (Required) Used to scope the request to the specified institution |
Request Body
{"new_endpoint_id"=>"<integer>", "active"=>"<boolean>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"code":"\u003cboolean\u003e","description":"\u003cstring\u003e","error":["\u003cstring\u003e","\u003cstring\u003e"],"data":{"id":"\u003cinteger\u003e","webhook_endpoint_id":"\u003cinteger\u003e","institution_id":"\u003cinteger\u003e","resource_type":"\u003cstring\u003e","event":"\u003cstring\u003e","active":"\u003cboolean\u003e","created_at":"\u003cstring\u003e","updated_at":"\u003cstring\u003e"},"count":"\u003cinteger\u003e"}