SmartGare
API referenceEndpoints

Get an identity user

Returns a user by provider id, with the time of its last sign-in. **Required permission:** `identity.user:read`

GET/identity/v1/users/{id}

Returns a user by provider id, with the time of its last sign-in.

Required permission: identity.user:read

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Identity provider user id

Response Body

*/*

curl -X GET "https://example.com/identity/v1/users/string"
{  "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"}