Update a webhook endpoint Run in API Explorer
Updates the specified webhook endpoint by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
PUT
/api/v1/webhook_endpoints/{webhook_endpoint_id}
curl \
--request PUT 'https://api.1099policy.com/api/v1/webhook_endpoints/{webhook_endpoint_id}' \
--header "Content-Type: application/json" \
--data '{"url":"https://example.com/my/webhook/endpoint","description":"A webhook endpoint for the example application."}'
Request example
{
"url": "https://example.com/my/webhook/endpoint",
"description": "A webhook endpoint for the example application."
}
Response examples (200)
{
"created": "2024-01-06T05:30:39.373Z",
"description": "string",
"id": "whe_KPGc5vEZdvoETu39BNwu2Z",
"secret": false,
"url": "https://example.com/my/webhook/endpoint"
}