List Users
Retrieve a list of all your team users with their permissions and access rights.
Endpoint
GET /users/list
Authentication
Header | Value |
---|---|
Authorization | Bearer <jwt_token> |
Example Request
curl -X GET http://localhost:9000/users/list \
-H "Authorization: Bearer <jwt_token>"
Response
Success Response (200 OK)
{
"users": [
{
"id": "67fd2a63a70df16a87034b83",
"username": "teamuser1",
"permissions": {
"Apps": {
"Create": true,
"Delete": false,
"Edit": true,
"Download": true,
"Upload": false,
"Allowed": [
"67f8070fba341940a3ae4542"
]
},
"Channels": {
"Create": true,
"Delete": false,
"Edit": true,
"Allowed": [
"67f826fa5c0a2b68411b2111"
]
},
"Platforms": {
"Create": true,
"Delete": false,
"Edit": true,
"Allowed": [
"67f82615a27c60636bd57308"
]
},
"Archs": {
"Create": true,
"Delete": false,
"Edit": true,
"Allowed": [
"67f8261aa27c60636bd57309"
]
}
},
"updated_at": "2025-04-14T18:31:47.575+03:00"
}
]
}
Response Fields
Field | Type | Description |
---|---|---|
users | array | Array of team user objects |
User Object Fields
Field | Type | Description |
---|---|---|
id | string | Unique identifier of the user |
username | string | Username of the team user |
permissions | object | Detailed permissions for different resource types |
updated_at | string | Last update timestamp |
Permission Object Fields
Field | Type | Description |
---|---|---|
Create | boolean | Permission to create new resources |
Delete | boolean | Permission to delete resources |
Edit | boolean | Permission to edit existing resources |
Download | boolean | Permission to download files (Apps only) |
Upload | boolean | Permission to upload files (Apps only) |
Allowed | array | List of resource IDs the user has access to |
Notes
- This endpoint returns all team users created by the authenticated admin
- The
Allowed
array contains IDs of specific resources the user can access - Only admin users can view the list of team users
- Results are typically sorted by creation date (newest first)