curl --request GET \
--url http://localhost:3091/v1/api/users \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"firstName": "<string>",
"lastName": "<string>",
"pseudo": "<string>",
"phone": "<string>",
"nationality": "<string>",
"dateOfBirth": "<string>",
"email": "<string>",
"stripeConnectedAccountId": "<string>",
"enabled": true,
"walletBalance": 123,
"pendingWithdrawalAmount": 123,
"totalEarned": 123,
"totalWithdrawn": 123,
"autoWithdrawalEnabled": true,
"autoWithdrawalThreshold": 123,
"rating": 123,
"tripCount": 123,
"deliveryCount": 123,
"memberSince": "<string>"
}
]Returns all registered user profiles.
curl --request GET \
--url http://localhost:3091/v1/api/users \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"firstName": "<string>",
"lastName": "<string>",
"pseudo": "<string>",
"phone": "<string>",
"nationality": "<string>",
"dateOfBirth": "<string>",
"email": "<string>",
"stripeConnectedAccountId": "<string>",
"enabled": true,
"walletBalance": 123,
"pendingWithdrawalAmount": 123,
"totalEarned": 123,
"totalWithdrawn": 123,
"autoWithdrawalEnabled": true,
"autoWithdrawalThreshold": 123,
"rating": 123,
"tripCount": 123,
"deliveryCount": 123,
"memberSince": "<string>"
}
]JWT access token from POST /v1/api/auth/login
List of users returned