Update an existing usage trigger
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
Usage trigger ID
application/json
New trigger values
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X POST "https://example.com/usage/triggers/595f5c44-c31c-4552-8670-020a1545a84d" \ -H "Content-Type: application/json" \ -d '{ "accountName": "1000012345-00001", "thresholdValue": "95" }'{ "triggerId": "595f5c44-c31c-4552-8670-020a1545a84d", "triggerName": "90 percent", "accountName": "1000012345-00001", "serviceName": "Location", "thresholdValue": "90", "allowExcess": true, "sendSmsNotification": true, "smsPhoneNumbers": "5558794321", "sendEmailNotification": false, "emailAddresses": "", "createDate": "2018-08-11", "updateDate": "2018-08-12"}{ "errorCode": "error code string", "errorMessage": "error message string"}Usage trigger name
Account name
The percent of subscribed usage required to activate the trigger, such as 90 or 100.
Comma-separated list of phone numbers to send SMS alerts to. Digits only; no dashes or parentheses, etc.
Comma-separated list of email addresses to send alerts to.