S I M Actions

Get a new activation code.

POST
/m2m/v1/devices/profile/actions/renew_activation_code

System assign a new activation code to reactivate a deactivated device. Note: the previously assigned ICCID must be used to request a new activation code.

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

Device Profile Query

Device Profile Query

devices?array<>
Itemsitems <= 100
accountName?string
servicePlan?string
mdnZipCode?string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/m2m/v1/devices/profile/actions/renew_activation_code" \  -H "Content-Type: application/json" \  -d '{    "devices": [      {        "deviceIds": [          {            "id": "15-digit IMEI",            "kind": "imei"          },          {            "id": "20-digit ICCID",            "kind": "iccid"          }        ]      }    ],    "accountName": "0000123456-00001",    "servicePlan": "the service plan name",    "mdnZipCode": "five digit zip code"  }'
{  "requestId": "d1f08526-5443-4054-9a29-4456490ea9f8"}