Anomaly Settings

ActivateAnomalyDetection

POST
/m2m/v1/intelligence/anomaly/settings

Uses the subscribed account ID to activate anomaly detection and set threshold values.

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 activate anomaly detection.

Request to activate anomaly detection.

accountName?string

The name of a billing account. An account name is usually numeric, and must include any leading zeros.

Length3 <= length <= 32
requestType?string

The type of request being made. anomaly is the request to activate anomaly detection.

sensitivityParameter?

Details for sensitivity parameters.

Response Body

application/json

application/json

curl -X POST "https://example.com/m2m/v1/intelligence/anomaly/settings" \  -H "Content-Type: application/json" \  -d '{    "accountName": "0000123456-00001",    "requestType": "anomaly",    "sensitivityParameter": {      "abnormalMaxValue": 1.1,      "enableAbnormal": true,      "enableVeryAbnormal": true,      "veryAbnormalMaxValue": 0.55    }  }'
{  "status": "Success"}