curl --request PATCH \
--url https://catchall.newscatcherapi.com/catchAll/monitors/{monitor_id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"webhook": {
"url": "https://new-endpoint.com/webhook",
"method": "POST",
"headers": {
"Authorization": "Bearer new_token_xyz"
}
}
}
'