GET /api/users
curl \
-X GET http://localhost:4000/api/users
Response examples (200)
{
"data": [
{
"id": "f260f115-f2e6-4dde-bcab-98b10fdb8cf6",
"name": "Test User",
"role": "customer_read_only",
"email": "user@test.com",
"status": "active",
"account_id": "293f191b-f2e6-4dde-bcab-00b10fdb8cf4"
}
],
"page": 1,
"limit": 1,
"pages": 20,
"total": 20
}
Response examples (200)
{
"data": [
{
"id": "f260f115-f2e6-4dde-bcab-98b10fdb8cf6",
"name": "Test User",
"role": "customer_read_only",
"email": "user@test.com",
"status": "active",
"account_id": "293f191b-f2e6-4dde-bcab-00b10fdb8cf4"
}
],
"page": 1,
"limit": 1,
"pages": 20,
"total": 20
}
Response examples (401)
{
"error": "Error Reason"
}
Response examples (401)
{
"error": "Error Reason"
}