Device Management

Suspends service for one or more devices.

POST
/m2m/v1/devices/actions/suspend

Suspends service for one or more devices.

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 suspend service for one or more devices.

Request to suspend service for one or more devices.

accountName?string

The name of a billing account.

customFields?array<>

Custom field names and values, if you want to only include devices that have matching values.

devices?array<>

The devices for which you want to restore service, specified by device identifier.

withBilling?boolean

set to "true" to suspend with billing, set to "false" to suspend without billing

groupName?string

The name of a device group, if you want to restore service for all devices in that group.

servicePlan?string

The name of a service plan, if you want to only include devices that have that service plan.

Response Body

application/json

application/json

curl -X POST "https://example.com/m2m/v1/devices/actions/suspend" \  -H "Content-Type: application/json" \  -d '{    "devices": [      {        "deviceIds": [          {            "id": "89148000000800139708",            "kind": "iccid"          }        ]      }    ]  }'
{  "requestId": "595f5c44-c31c-4552-8670-020a1545a84d"}