cURL
curl --request PUT \ --url https://api.notifique.dev/v1/webhooks/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "url": "<string>", "events": [ "<string>" ], "instanceIds": [ "<string>" ], "enabled": true } '
{ "success": true, "data": { "id": "<string>", "workspaceId": "<string>", "name": "<string>", "url": "<string>", "secret": "<string>", "events": [ "<string>" ], "instanceIds": [ "<string>" ], "enabled": true, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Atualiza um webhook existente. Escopo: webhooks:manage.
webhooks:manage
Authorization: Bearer sk_live_xxxxx
1024
2048
1
64
Webhook atualizado.
true
Show child attributes
Was this page helpful?