Admin
Get all administrators
Authorizations
Query parameters
takeany ofOptionalDefault:
10
notOptional
numberOptional
skipany ofOptionalDefault:
0
notOptional
numberOptional
idFilterany ofOptional
Comma-separated ids to filter by
notOptional
string[]Optional
allowFuzzyIdFilterbooleanOptionalDefault:
Set to true
to enable fuzzy id filtering. If false, only returns exact matches.
false
sortFieldstring · enumOptionalPossible values:
Field to sort by
sortOrderstring · enumOptionalPossible values:
Sort order for the selected field
Responses
200
Successful response
application/json
default
Error response
application/json
get
GET /api/administrators HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"administrators": [
{
"id": "text",
"displayName": "text",
"createdAt": "text",
"updatedAt": "text",
"lastSeen": "text"
}
]
}
Get the total number of administrators. Useful for pagination.
Authorizations
Query parameters
idFilterany ofOptional
Comma-separated ids to filter by
notOptional
string[]Optional
allowFuzzyIdFilterbooleanOptionalDefault:
Set to true
to enable fuzzy id filtering. If false, only returns exact matches.
false
Responses
200
Successful response
application/json
default
Error response
application/json
get
GET /api/administrators/count HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"count": 1
}
Was this helpful?