P W N

ChangePWNDeviceIPaddress

PUT
/m2m/v1/devices/pwn/actions/ipaddress

Authorization

thingspace_oauth VZ-M2M-Token
AuthorizationBearer <token>

This is the ThingSpace token, from Credentials and Tokens is used

In: header

VZ-M2M-Token<token>

M2M Session Token (How to generate an M2M session token?)

In: header

Request Body

application/json

accountName*string
deviceList*array<>

Response Body

application/json

curl -X PUT "https://example.com/m2m/v1/devices/pwn/actions/ipaddress" \  -H "Content-Type: application/json" \  -d '{    "accountName": "0342351414-00001",    "deviceList": [      {        "deviceIds": [          {            "id": "99948099913024600000",            "kind": "iccid"          }        ],        "ipAddress": "10.3.4.5"      },      {        "deviceIds": [          {            "id": "999480500019111000001",            "kind": "iccid"          }        ],        "ipAddress": "10.4.5.7"      }    ]  }'
{  "requestId": "c7b45cf2-cab1-4e42-82f8-20350f4c4ea3"}