System Administration > Monitoring > Notifications

Add a new notification watcher.

Add a new notification watcher.

Request:

Method:
POST
URI Path(s):
/api/v1/notification-watchers
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
NotificationWatcher+

Example Request:

POST /api/v1/notification-watchers { "server": "10.0.0.1", "method": "POST", "uri": "/nsx-notifications", "authentication_scheme": { "scheme_name": "BASIC_AUTH", "username": "nsx_notification_user", "password": "eZHc7k5Z7Gsa" } }

Successful Response:

Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
NotificationWatcher+

Example Response:

{ "id": "daabc688-3a90-4545-9af8-23e1b045e6f3", "server": "10.0.0.1", "method": "POST", "uri": "/nsx-notifications", "authentication_scheme": { "scheme_name": "BASIC_AUTH", "username": "nsx_notification_user" } }

Required Permissions:

crud

Feature:

manager

Additional Errors: