Move active devices from one billing account to another within a customer profile.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
application/json
Request to move devices between accounts.
TypeScript Definitions
Use the request body type in TypeScript.
Request to move active devices from one billing account to another within a customer profile.
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"}{ "errorCode": "error code string", "errorMessage": "error message string"}The name of the billing account that you want to move the devices to.
Specify the kind of the device identifier, the type of match, and the string that you want to match.
Custom field names and values, if you want to only include devices that have matching values.
Up to 10,000 devices that you want to move to a different account, specified by device identifier.
The name of a device group, to only include devices in that group.
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.
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.