Device Credential Management

Generate Credentials

POST
/auth/v1/credentials/generate

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

ECPD*string

Enterprise Customer Profile ID

accountNumber*string

Billing Account Number

items*array<>

List of devices (1-50 items)

Items1 <= items <= 50

Response Body

application/json

application/json

curl -X POST "https://example.com/auth/v1/credentials/generate" \  -H "Content-Type: application/json" \  -d '{    "ECPD": "3161585",    "accountNumber": "0844021539-00001",    "items": [      {        "imei": "221000008775573"      }    ]  }'
{  "items": [    {      "imei": "100096454851324",      "credential": {        "username": "290sk9vmybmxi1kmx1kxo8w13u",        "password": "5YW5QBo8unbdIpKApnhR1PhOLPD5"      }    }  ]}