Changes the service plan for one or more devices.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
application/json
Request to change device service plan.
TypeScript Definitions
Use the request body type in TypeScript.
Request to update service plan.
application/json
application/json
curl -X PUT "https://example.com/m2m/v1/devices/actions/plan" \ -H "Content-Type: application/json" \ -d '{ "servicePlan": "Tablet5GB", "devices": [ { "deviceIds": [ { "id": "A100003685E561", "kind": "meid" } ] } ], "carrierIpPoolName": "IPPool" }'{ "requestId": "c8de7c1d-59b9-4cf3-b969-db76cb2ce509"}{ "errorCode": "error code string", "errorMessage": "error message string"}The service plan code that you want to assign to all specified devices.
The name of a billing account.
The name of a service plan, if you want to only include devices that have that service plan.
Custom field names and values, if you want to only include devices that have matching values.
A list of the devices that you want to change, specified by device identifier.
The name of a device group, if you want to restore service for all devices in that group.
^[A-Za-z0-9]{3,32}$3 <= length <= 32date-time0 <= length <= 32