Sends a CarrierService callback message for each device in the request when the custom fields have been changed, or if there was a problem and the change could not be completed.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
application/json
Request to update custom field of devices.
TypeScript Definitions
Use the request body type in TypeScript.
Request to assign or change custom field values for one or more devices.
application/json
application/json
curl -X PUT "https://example.com/m2m/v1/devices/actions/customFields" \ -H "Content-Type: application/json" \ -d '{ "devices": [ { "deviceIds": [ { "id": "89148000000800139708", "kind": "iccid" } ] } ], "customFieldsToUpdate": [ { "key": "CustomField1", "value": "West Region" }, { "key": "CustomField2", "value": "Distribution" } ] }'{ "requestId": "595f5c44-c31c-4552-8670-020a1545a84d"}{ "errorCode": "error code string", "errorMessage": "error message string"}The name of a billing account.This parameter is only required if the UWS account used for the current API session has access to multiple billing accounts.An account name is usually numeric, and must include any leading zeros.
Custom field names and values, if you want to only include devices that have matching values.
The names and new values of any custom fields that you want to change.
The devices that you want to change.
The name of a device group, if you want to only include devices in that group.
The name of a service plan, if you want to only include devices that have that service plan.