Adds, updates, deletes, and enables HTTP notification consumers.
API URL
GET https://<host>/wsapis/v2.0.0/devicemgmt/notification/http/consumers
SET https://<host>/wsapis/v2.0.0/devicemgmt/notification/http/consumers -d <payload>
Payload
JSON containing variables listed in API response.
Sample curl requests
GET - curl -skH "$Token" "https://10.128.43.157/wsapis/v2.0.0/devicemgmt/notification/http/consumers"
CREATE/UPDATE - curl -skH "$Token" "https://10.2.140.114/wsapis/v2.0.0/devicemgmt/notification/http/consumers?operation=create" -d '{"name": "apihttp2", "auth_enable": "false", "delivery": "daily-digest", "ssl_verify": "false", "ssl_enable": "false", "alerts_update": "true", "is_enabled": "true", "notification": "all-events", "provider": "generic", "enable": true, "server_url": "http://10.2.6.75/noti.php", "username": "fireeye", "password": "fireeye"}'DELETE single - curl -gsk -H "$c" https://10.128.59.86/wsapis/v2.0.0/devicemgmt/notification/http/consumer/aaaa?operation=delete -XPOST
DELETE multiple - curl -skH "$Token" "https://10.2.140.114/wsapis/v2.0.0/devicemgmt/notification/http/consumers?operation=delete" -d '["apihttp2"]'
DELETE all - curl -qgsSkH --no-progress-bar --header "$T" -H 'Accept: application/json' -H 'Content-Type: application/json' "https://10.18.59.86/wsapis/v2.0.0/devicemgmt/notification/http/recipients?operation=delete" -X POST
Availability
This command is available on the following appliances:
Network Security
Email Security — Server
File Protect
Malware Analysis
Authentication
Standard WSAPI authentication