Changes or removes the CostCenterCode value or customer name and address (Primary Place of Use) 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 update cost center code value for one or more devices.
TypeScript Definitions
Use the request body type in TypeScript.
Request to retrieve cost center value of a device.
application/json
application/json
curl -X PUT "https://example.com/m2m/v1/devices/costCenter" \ -H "Content-Type: application/json" \ -d '{ "costCenter": "cc12345", "devices": [ { "deviceIds": [ { "id": "89148000000800139708", "kind": "iccid" } ] } ] }'{ "requestId": "595f5c44-c31c-4552-8670-020a1545a84d"}{ "errorCode": "error code string", "errorMessage": "error message string"}The name of a billing account.
The new cost center code. Valid values are any string of up to 36 alphanumeric characters, space, dash, exclamation point, and pound sign.
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. Do not include accountName, groupName, customFields, or servicePlan if you use this parameter.
The name of a device group, if you want to only include devices in that group.
The customer name and the address of the device's primary place of use. These values are applied to all devices in the request.The Primary Place of Use location may affect taxation or have other legal implications. You may want to speak with legal and/or financial advisers before entering values for these fields.
Set to true to remove the cost center code value. This flag takes precedence over a new costCenter value. If this flag is true and costCenter has a value, the cost center code is removed. Do not include this parameter, or set it to false to change the costCenter value.
The name of a service plan, if you want to only include devices that have that service plan.