Edit webhook subscription

PATCH {{baseUrl}}/webhook_endpoints/:id/webhook_subscriptions/:subscription_id?subdomain={{subdomain}}

Request Params

KeyDatatypeRequiredDescription
subdomainstring(Required) Used to scope the request to the specified institution

Request Body

{"new_endpoint_id"=>"<integer>", "active"=>"<boolean>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;code&quot;:&quot;\u003cboolean\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;error&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;data&quot;:{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;webhook_endpoint_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;institution_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;resource_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;event&quot;:&quot;\u003cstring\u003e&quot;,&quot;active&quot;:&quot;\u003cboolean\u003e&quot;,&quot;created_at&quot;:&quot;\u003cstring\u003e&quot;,&quot;updated_at&quot;:&quot;\u003cstring\u003e&quot;},&quot;count&quot;:&quot;\u003cinteger\u003e&quot;}