!curl -u <username>:<Authtoken> -X \GET "https://mydomain.atlassian.net/rest/api/2/user/search?username=%&includeInactive=True&maxResults=500" | python -mjson.tool
When trying to fetch the users using find users API and making the inculdeInactive Flag to True does not returns the inactive users. It still returns the active users.
https://docs.atlassian.com/software/jira/docs/api/REST/1000.824.0/#api/2/user-findUsers
It looks like you're new here. Sign in or register to get started.