List Users
const url = 'https://example.com/admin/users/?skip=0&limit=50&sort=username&order=asc';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/admin/users/?skip=0&limit=50&sort=username&order=asc' \ --header 'Authorization: Bearer <token>'List all users with pagination and optional status/search/sort filter (admin only).
sort and order are closed enums, so an unrecognised value is refused
with a 422 and never reaches the query.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Column to order by. Roles and storage are not sortable: roles is a many-to-many and storage is aggregated per page after the query.
Column to order by. Roles and storage are not sortable: roles is a many-to-many and storage is aggregated per page after the query.
Sort direction.
Sort direction.
Responses
Section titled “ Responses ”Successful Response
object
Page of users matching the query.
object
Account status: active, pending, suspended, or deactivated.
Assigned role names, e.g. [‘admin’, ‘editor’]
Per-user quota usage: current consumption vs configured caps.
object
Total number of users matching the query (across all pages).
Example
{ "users": [ { "status": "active" } ]}Bad request — invalid query parameters or payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks access to this resource
Not found
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request