Billing

Get the list of all managed accounts

GET
/loc/v1/managedaccounts/{accountName}/service/{serviceName}

This endpoint allows user to retrieve the list of all accounts managed by a primary 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

Path Parameters

accountName*string

Primary account identifier

serviceName*string

Service name

Response Body

application/json

application/json

curl -X GET "https://example.com/loc/v1/managedaccounts/1223334444-00001/service/string"
{  "accountName": "2024009649-00001",  "ManagedAccAddedList": [    {      "id": "1223334444-00001",      "txid": "2c90bd28-eeee-ffff-gggg-7e3bd4fbff33"    },    {      "id": "2334445555-00001",      "txid": "d4fbff33-eeee-ffff-gggg-2c90bd287e3b"    }  ]}