Update a webhook

PUT {{baseUrl}}/api/v1/integration/webhooks/configuration/webhooks/:webhook_name

Updates the endpoint with the name <WEBHOOK_NAME>.

Request Body

{"custom_headers"=>"ea nostrud in pariatur non", "encode_as"=>"json", "name"=>"WEBHOOK_NAME", "payload"=>"non ", "url"=>"https://example.com/webhook"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;name&quot;:&quot;WEBHOOK_NAME&quot;,&quot;url&quot;:&quot;https://example.com/webhook&quot;,&quot;custom_headers&quot;:&quot;id veniam consectetur ullamco&quot;,&quot;encode_as&quot;:&quot;json&quot;,&quot;payload&quot;:&quot;do offi&quot;}