curl --location --request GET 'https://staging.syncode.anggita.org/api/admin/users?cursor&limit&search&role&isBanned&sortBy&sortOrder' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"username": "string",
"email": "user@example.com",
"displayName": "string",
"role": "user",
"isBanned": true,
"bannedReason": "string",
"totalSessions": 0,
"lastActiveAt": "2019-08-24T14:15:22.123Z",
"createdAt": "2019-08-24T14:15:22.123Z"
}
],
"pagination": {
"nextCursor": "string",
"hasMore": true
}
}