Missed Team ’24? Catch up on announcements here.

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

How can I confirm if a user has been removed from the organization using Rest API Jira?

Duyen Nguyen July 7, 2023

I'm trying to confirm if the user has been removed from the organization from the site using the rest API: 

  • I deleted a user using the Delete user API. 
  • But I can still get data from Get user API. 

Can you tell me how can I find out if a user has been removed from the organization?By using rest api jira?

Thanks

Delete user API: https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-users/#api-rest-api-2-user-delete
Get user API: https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-users/#api-rest-api-2-user-get

1 answer

1 accepted

0 votes
Answer accepted
Mohamed Benziane
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 7, 2023

Hi,

When you delete an user, this user is just removed from the Jira base

Deletes a user. If the operation completes successfully then the user is removed from Jira's user base. This operation does not delete the user's Atlassian account

So i guess that when you call the get user API you're just getting data from the Atlassian account

Suggest an answer

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

Atlassian Community Events