Anomaly Triggers V2

UpdateAnomalyDetectionTriggerV2

PUT
/m2m/v2/triggers

Updates an existing trigger using the account name.

Authorization

thingspace_oauth VZ-M2M-Token
AuthorizationBearer <token>

This is the ThingSpace token, from Credentials and Tokens is used

In: header

VZ-M2M-Token<token>

M2M Session Token (How to generate an M2M session token?)

In: header

Request Body

application/json

Request to update existing trigger.

Request to update existing trigger.

[index: integer]?|

Response Body

application/json

application/json

curl -X PUT "https://example.com/m2m/v2/triggers" \  -H "Content-Type: application/json" \  -d '[    {      "triggerId": "595f5c44-c31c-4552-8670-020a1545a84d",      "triggerName": "Anomaly Daily Usage REST Test-Patch Update 4",      "accountName": "0000123456-00001",      "triggerCategory": "UsageAnomaly",      "anomalyTriggerRequest": {        "accountNames": "0000123456-00001",        "includeAbnormal": true,        "includeVeryAbnormal": true,        "includeUnderExpectedUsage": false,        "includeOverExpectedUsage": true      },      "notification": {        "notificationType": "DailySummary",        "callback": true,        "emailNotification": false,        "notificationGroupName": "Anomaly Test API",        "notificationFrequencyFactor": 3,        "notificationFrequencyInterval": "Hourly",        "externalEmailRecipients": "placeholder@verizon.com",        "smsNotification": true,        "smsNumbers": [          {            "carrier": "US Cellular",            "number": "9299280711"          }        ],        "reminder": true,        "severity": "Critical"      }    }  ]'
{  "status": "Success"}