Diagnostics Subscriptions

Get diagnostics service subscription information

GET
/diagnostics/v1/subscriptions

This endpoint retrieves a diagnostics subscription by account.

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

Query Parameters

accountName*string

Account identifier.

Response Body

application/json

application/json

curl -X GET "https://example.com/diagnostics/v1/subscriptions?accountName=0000123456-00001"
{  "accountName": "TestQAAccount",  "skuName": "TS-BUNDLE-KTO-DIAGNOSTIC-MRC",  "totalAllowed": 100,  "totalUsed": 50,  "createdOn": "2019-08-29T00:47:59.240Z",  "lastUpdated": "2019-08-29T00:47:59.240Z"}