List global users as a platform administrator.
GET
/v1/users
const url = 'https://api.dev.iot-sens.schlossers.at/v1/users?status=active&limit=25';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://api.dev.iot-sens.schlossers.at/v1/users?status=active&limit=25' \ --header 'Authorization: Bearer <token>'Returns an exact count for the same authorization scope and filters as the page. Rows use stable ascending (createdAt, userId) order. Cursors are bound to the actor, authorization scope, filters, and page size.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”status
string
q
string
cursor
string
Opaque continuation token; reuse the original filters and scope.
limit
integer
Responses
Section titled “Responses”Stable global-user cursor page.
Media typeapplication/json
object
items
required
Array<object>
object
userId
required
string format: uuid
email
required
string format: email
displayName
required
string
status
required
string
platformRoles
required
Array<string>
isProtected
required
boolean
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
nextCursor
string
totalCount
required
integer
Example
{ "items": [ { "status": "active", "platformRoles": [ "platform_admin" ] } ]}default
Section titled “default”A safe platform error response.
Media typeapplication/json
object
error
required
object
Example
{ "error": { "code": "VALIDATION_FAILED", "category": "validation" }}Headers
Section titled “Headers”Cache-Control
string