- Webhooks
- Excluir webhook
Webhooks
Excluir webhook
Remove um webhook da empresa
DELETE
/webhooks/{id}
curl --request DELETE \
--url https://api.treeunfe.com.br/api/v1/webhooks/{id} \
--header 'x-api-key: <api-key>' \
--header 'x-api-key: <x_api_key>'
curl --request DELETE \
--url https://api.treeunfe.com.br/api/v1/webhooks/{id} \
--header 'x-api-key: <api-key>' \
--header 'x-api-key: <x_api_key>'Remove um webhook. A URL deixa de receber avisos.
Autenticação
x-api-key
required
string
API Key da empresa.
Parâmetros de rota
id
required
string
ID do webhook.
Respostas
| Status | Descrição |
|---|---|
204 | Webhook excluído (sem corpo na resposta). |
401 | x-api-key ausente ou inválida. |
404 | Webhook não encontrado. |
curl -X DELETE "https://api.treeunfe.com.br/api/v1/webhooks/ID" \
-H "x-api-key: SUA_API_KEY"
curl -X DELETE "https://api.treeunfe.com.br/api/v1/webhooks/ID" \
-H "x-api-key: SUA_API_KEY"
curl --request DELETE \
--url https://api.treeunfe.com.br/api/v1/webhooks/{id} \
--header 'x-api-key: <api-key>' \
--header 'x-api-key: <x_api_key>'
curl --request DELETE \
--url https://api.treeunfe.com.br/api/v1/webhooks/{id} \
--header 'x-api-key: <api-key>' \
--header 'x-api-key: <x_api_key>'