Skip to content

List Accounts

Request

List all available accounts associated with the user.

Security
HTTP_BASIC
Query
typestring

Indicates whether the caller intends to use the account for configuration-related endpoints or billing-related endpoints.

Default:"configuration"
Enum:"configuration""billing"
Example:type=configuration
curl -i -X GET \
  -u '<username>:<password>' \
  'https://tapi.avanser.com/v1/accounts?type=configuration'

Responses

Successful response

Bodyapplication/json
@transactionobject
responseArray of objects(items)
Response
{ "@transaction": { "id": "c9220015e2f48bc7cf4b38186a7b2025", "account-id": "5995", "request": { … } }, "response": [ { … } ] }