Edit webhook endpoint
PATCH {{baseUrl}}/webhook_endpoints/:id
Request Body
{"target_url"=>"<string>", "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","target_url":"\u003cstring\u003e","secret_key":"\u003cstring\u003e","active":"\u003cboolean\u003e","created_at":"\u003cstring\u003e","updated_at":"\u003cstring\u003e"},"count":"\u003cinteger\u003e"}