Returns a list of accounts, paginated according to the pagination parameters. Only available to Garmat administrators.
curl \
-X GET http://localhost:4000/api/accounts
{
"data": [
{
"name": "Test Account",
"type": "customer",
"users": 5,
"booths": 2,
"status": "active"
}
],
"page": 1,
"limit": 1,
"pages": 20,
"total": 20
}
{
"data": [
{
"name": "Test Account",
"type": "customer",
"users": 5,
"booths": 2,
"status": "active"
}
],
"page": 1,
"limit": 1,
"pages": 20,
"total": 20
}
{
"error": "Error Reason"
}
{
"error": "Error Reason"
}