SmartGare
API referenceEndpoints

List identity users

Returns a page of users from the configured identity realm. **Required permission:** `identity.user:read`

GET/identity/v1/users

Returns a page of users from the configured identity realm.

Required permission: identity.user:read

AuthorizationBearer <token>

In: header

Query Parameters

search?string

Matches Keycloak's user search fields.

page?integer

Zero-based page index, at most 10000.

Formatint32
Range0 <= value <= 10000
size?integer

Page size, at most 200.

Formatint32
Range0 <= value <= 200

Response Body

*/*

curl -X GET "https://example.com/identity/v1/users"
{  "data": [    {      "email": "string",      "first_name": "string",      "id": "string",      "last_name": "string",      "last_sign_in": "2019-08-24T14:15:22Z",      "phone": "string",      "roles": [        "string"      ],      "status": "ACTIVE",      "username": "string"    }  ],  "page": 0,  "size": 0}