List Staff Members
GET
/staff/listRetrieves a list of all staff members.
Request
Query Params
limit
string
optional
Example:
10
offset
string
optional
Example:
0
Responses
Success(200)
Unauthorized(401)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
array [object {6}]
required
staffid
string
optional
email
string
optional
fullname
string
optional
role
string
optional
last_login
string
optional
active
string
optional
page
object
required
current_page
integer
required
from
integer
required
to
integer
required
total
integer
required
per_page
integer
required
last_page
integer
required
next
integer
required
previous
integer
required
message
string
required
Example
{
"data": [
{
"staffid": "1",
"email": "[email protected]",
"fullname": "john doe",
"role": "Admin",
"last_login": "2024-08-09 14:05:27",
"active": "1"
}
],
"page": {
"current_page": 1,
"from": 1,
"to": 1,
"total": 1,
"per_page": 10,
"last_page": 0,
"next": -1,
"previous": 0
},
"message": "success"
}
Last modified: 3 months ago