curl --request PUT \
--url https://api.getredo.com/v2.2/webhooks/{webhookId} \
--header 'Content-Type: application/json' \
--data '
{
"webhook": {
"callback": {
"auth": {
"bearer": {
"token": "abc123"
}
},
"url": "https://subscriber.example.org/events"
},
"externalId": null
}
}
'