Device Management

Move devices between accounts.

PUT
/m2m/v1/devices/actions/move

Move active devices from one billing account to another within a customer profile.

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 move devices between accounts.

Request to move devices between accounts.

accountName*string

The name of the billing account that you want to move the devices to.

filter?

Specify the kind of the device identifier, the type of match, and the string that you want to match.

customFields?array<>

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

devices?array<>

Up to 10,000 devices that you want to move to a different account, specified by device identifier.

groupName?string

The name of a device group, to only include devices in that group.

carrierIpPoolName?string

The pool from which device IP addresses will be derived in the new account. If you do not include this element, the default pool will be used.

servicePlan?string

The service plan code that you want to assign to the devices in the new account. If you do not include this element, ThingSpace will attempt to use the current service plan, which will result in a error if the new account does not have that service plan.

Response Body

application/json

application/json

curl -X PUT "https://example.com/m2m/v1/devices/actions/move" \  -H "Content-Type: application/json" \  -d '{    "devices": [      {        "deviceIds": [          {            "kind": "ESN",            "id": "19110173057"          }        ]      }    ],    "accountName": "0212345678-00001",    "servicePlan": "M2M5GB"  }'
{  "requestId": "ec682a8b-e288-4806-934d-24e7a59ed889"}