Not able to fetch inactive user detail in /rest/api/3/user/assignable/search

We are using below API to search user.

GET /rest/api/3/user/assignable/search

API Call - [INSTACE_URL]/rest/api/3/user/assignable/search?query=d&project=10051&maxResults=100

We have also tried GET /rest/api/3/user/search but we are not getting result if we are passing inactive user in query parameter.

2 Likes

Hi @krishnashah,

To get inactive and deleted users, you might want to use Get all users API (notice the trailings in users of /users/search). There’s an active boolean field to indicate if the user is inactive, however, filtering of results will be done in your code and not part of any request parameters.

Cheers,
Ian

2 Likes