Skip Navigation Links | |
Exit Print View | |
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
This adds an alert action to an existing alert actions group.
Example Request:
POST /api/alert/v1/actions/actions-001 HTTP/1.1 Host: zfssa.example.com:215 X-Auth-Session: uerqghq84vbdv Content-Type: application/json Content-Length: 68 {"address": "Joe.Admin@acme.com", "handler": "email", "subject":"CPU Busy"}
Example Response:
HTTP/1.1 201 Created X-Zfssa-Appliance-Api: 1.0 Content-Type: application/json Content-Length: 177 Location: /api/alert/v1/actions/actions-001/action-001 { "action": { "href": "/api/alert/v1/actions/actions-001 /action-001", "handler": "email", "address": "Joe.Admin@acme.com", "subject": "CPU Busy" } }