curl --request PATCH \
--url http://localhost:3000/api/webhooks/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"name": "<string>",
"active": true
}
'Atualize a URL, nome ou status de um webhook
curl --request PATCH \
--url http://localhost:3000/api/webhooks/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"name": "<string>",
"active": true
}
'