Update subscribed event
You can update the URL and the action type (action) of an already subscribed event using its identifier (id).
- Request
- Response
PUT /webhooks/{id}
{
"action": "payment_cancelled",
"url": "https://example.com/novo-webhook"
}
{
"date": "2024-01-15T11:00:00+00:00",
"success": true,
"data": {
"id": "1",
"action": "payment_confirmed",
"url": "https://example.com/novo-webhook",
"createdAt": "2024-01-15T09:00:00+00:00"
}
}