Updates an existing trigger using the account name.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
application/json
Request to update existing trigger.
TypeScript Definitions
Use the request body type in TypeScript.
Trigger updation request.
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"}{ "errorCode": "str", "errorMessage": "string"}