Device Actions

Retrieve the List of Service Plans

GET
/v1/plans/{accountName}

Retrieve all of the service plans, features and carriers associated with the account specified.

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

Path Parameters

accountName*string
Match^[A-Za-z0-9]{3,32}$
Length3 <= length <= 32

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/plans/string"
{  "accountName": "0000123456-00001",  "accountNumber": "0000123456-00001",  "organizationName": "string",  "isProvisioningAllowed": true,  "carriers": [    {      "carriers": "string"    }  ],  "features": [    {      "features": "string"    }  ],  "servicePlans": [    {      "name": "string",      "code": "string",      "sizeKb": "string",      "carrierServicePlanCode": "string"    }  ]}