curl --request POST \
--url https://api.owem.com.br/v4/i/webhooks/config/{configId}/deactivate \
--header 'Authorization: <authorization>'{
"requestId": "3983f0e3-f6b6-43e6-8103-4d03e593aafb",
"success": true,
"size": 1,
"data": {
"message": "Webhook config desativada com sucesso"
}
}
Deactivates an active webhook configuration. Temporarily pause event notifications.
curl --request POST \
--url https://api.owem.com.br/v4/i/webhooks/config/{configId}/deactivate \
--header 'Authorization: <authorization>'{
"requestId": "3983f0e3-f6b6-43e6-8103-4d03e593aafb",
"success": true,
"size": 1,
"data": {
"message": "Webhook config desativada com sucesso"
}
}
Basic {Base64(API_KEY:API_SECRET)}{
"requestId": "3983f0e3-f6b6-43e6-8103-4d03e593aafb",
"success": true,
"size": 1,
"data": {
"message": "Webhook config desativada com sucesso"
}
}
| HTTP | Description |
|---|---|
| 200 | Webhook deactivated |
| 401 | Invalid credentials |
| 403 | IP not allowlisted |
| 404 | Configuration not found |
| 500 | Internal error |
Was this page helpful?