This endpoint retrieves a diagnostics subscription by account.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
Account identifier.
application/json
application/json
curl -X GET "https://example.com/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"}{ "errorCode": "The type of error, such as INVALID_REQUEST.", "errorMessage": "Additional error information."}