Deactivating service for a device may result in an early termination fee (ETF) being charged to the account, depending on the terms of the contract with Verizon. If your contract allows ETF waivers and if you want to use one for a particular deactivation, set the etfWaiver value to True.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
application/json
Request to deactivate service for one or more devices.
TypeScript Definitions
Use the request body type in TypeScript.
Request to deactivate a carrier.
application/json
application/json
curl -X POST "https://example.com/m2m/v1/devices/actions/deactivate" \ -H "Content-Type: application/json" \ -d '{ "devices": [ { "deviceIds": [ { "id": "20-digit ICCID", "kind": "iccid" } ] } ], "reasonCode": "FF", "accountName": "0000123456-00001", "etfWaiver": true, "deleteAfterDeactivation": true }'{ "requestId": "595f5c44-c31c-4552-8670-020a1545a84d"}{ "errorCode": "error code string", "errorMessage": "error message string"}The name of a billing account.
The devices for which you want to deactivate service, specified by device identifier.
Code identifying the reason for the deactivation. Currently the only valid reason code is “FF”, which corresponds to General Admin/Maintenance.
Custom field names and values, if you want to only include devices that have matching values.
Fees may be assessed for deactivating Verizon Wireless devices, depending on the account contract. The etfWaiver parameter waives the Early Termination Fee (ETF), if applicable.
The name of a device group, if you want to deactivate all devices in that group.
The name of a service plan, if you want to only include devices that have that service plan.