P W N

ChangePWNDeviceState - Deactivate

POST
/m2m/v1/devices/pwn/actions/state/deactivate

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 POST "https://example.com/m2m/v1/devices/pwn/actions/state/deactivate" \  -H "Content-Type: application/json" \  -d '{    "accountName": "0342351414-00001",    "deviceList": [      {        "deviceIds": [          {            "id": "99948099913031600000",            "kind": "iccid"          }        ]      },      {        "deviceIds": [          {            "id": "99948099913031700000",            "kind": "iccid"          }        ]      }    ]  }'
{  "requestId": "c7b45cf2-cab1-4e42-82f8-20350f4c4ea3"}