Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to know the user has been deleted?

Duyen Nguyen July 11, 2023

I try to use API Get All Users to get information from users.

Jira documents have written:

  • Returns a list of all users, including active users, inactive users and previously deleted users that have an Atlassian account.
  • Privacy controls are applied to the response based on the users' preferences. This could mean, for example, that the user's email address is hidden. See the Profile visibility overview for more details.

The results I return only distinguish between active users and inactive users.

How can I distinguish deleted user from response GET ALL USERS API ?

Thanks


API Get All Users: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users/#api-rest-api-3-users-search-get



1 answer

1 accepted

2 votes
Answer accepted
Ajay _view26_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 11, 2023

Hi @Duyen Nguyen 

 

When a user is deleted, they are moved to the "Inactive Users" section, and their account is considered deactivated rather than permanently deleted. Currently, there is no API endpoint available to retrieve the list of deleted users.

Hope it helps

Cheers

Ajay

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events