P W N

ChangePWNDeviceProfile

POST
/m2m/v1/devices/pwn/actions/profile

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<>
newProfile*string

Response Body

application/json

curl -X POST "https://example.com/m2m/v1/devices/pwn/actions/profile" \  -H "Content-Type: application/json" \  -d '{    "accountName": "0342351414-00001",    "deviceList": [      {        "deviceIds": [          {            "id": "99948099913024600000",            "kind": "iccid"          }        ]      }    ],    "newProfile": "HSS EsmProfile Enterprise 5G internet"  }'
{  "requestId": "c7b45cf2-cab1-4e42-82f8-20350f4c4ea3"}