Locked Users List

API URL

{{url}}/user-service/user/locked-users

Method

POST

Description

Get all locked users

Input

Field Name

Type

Mandatory

Example

Authorization (Header)

String

Yes

Token from Login

tenantId

String

No

Organization id of Region / Account / Operating Unit and not needed for super admin

Sample Input:

{ "tenantId":"5", "limit":2 }

Output

Field Name

Type

Comments

id

String

User ID

username

String

gender

String

roles

Object

active

Boolean

firstName

String

lastName

String

middleName

String

phoneNumber

String

timezone

Object

countryCode

String

country

Object

isSuperUser

Boolean

Sample Output:

  {
    "message": "Got All users.",
    "entity": null,
    "status": true,
    "entityList": [
        {
            "id": 395,
            "username": "autobanXXX@spXXXe.XXX",
            "firstName": "Sathya",
            "lastName": "BanglaHS",
            "gender": "Male",
            "country": {
                "id": 3,
                "name": "Bangladesh",
                "countryCode": "880",
                "unitMeasurement": "metric",
                "tenantId": 5
            },
            "countryCode": "880",
            "phoneNumber": "9876XXX21X",
            "timezone": {
                "id": 1,
                "offset": "-12:00",
                "description": "(UTC-12:00) International Date Line West"
            }
        }
    ],
    "responseCode": 200,
    "totalCount": 1
}

Last updated

@2024 Medtronic LABS