Skip to main content

Gets inactive users

GET <your-unleash-url>/api/admin/user-admin/inactive

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Gets all inactive users. An inactive user is a user that has not logged in in the last 180 days

Request

Responses

inactiveUsersSchema

Schema
  • version integer required

    Possible values: >= 1

    The version of this schema. Used to keep track of compatibility

  • inactiveUsers object[]required

    The list of users that are flagged as inactive

  • Array [
  • id integer required

    The user id

  • name string nullable

    Name of the user

  • email string

    Email of the user

  • username string nullable

    A unique username for the user

  • seenAt date-time nullable

    The last time this user logged in

  • createdAt date-time

    The user was created at this time

  • patSeenAt date-time nullable

    The last time this user's PAT token (if any) was used

  • ]

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Request

Base URL
<your-unleash-url>
Security Scheme
apiKey
curl / cURL
curl -L -X GET '<your-unleash-url>/api/admin/user-admin/inactive' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'