Update a webhook endpoint
POST {{baseUrl}}/v1/webhook_endpoints/:webhook_endpoint
Updates the webhook endpoint. You may edit the url
, the list of enabled_events
, and the status of your endpoint.
Request Body
[{"name"=>"disabled", "value"=>"<boolean>", "datatype"=>"string"}, {"name"=>"enabled_events[0]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"enabled_events[1]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"expand[0]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"expand[1]", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"url", "value"=>"<string>", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |