We are trying to do some cleanup for groups that contain disabled users. We need to remove disabled users from groups when the disabled user has been disabled for x number of months.
I"m not currently seeing any APIs that would work for this. Is there anything available?
Hello @Paul Madison
Have you seen this page: https://developer.atlassian.com/cloud/admin/user-provisioning/rest/api-group-users/#api-scim-directory-directoryid-users-userid-delete
Also, you can check this page as well: https://community.atlassian.com/t5/Atlassian-Access-questions/Delete-Disable-a-user-via-API/qaq-p/1827544
Let me know if it helped.
I don't want to delete or deactivate any acccounts, I just want to see the date that the account was deactivated by SCIM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As for the API case, the only result you can see if the user is active or not - no dates, sadly.
Also, you can check this page: https://community.atlassian.com/t5/Atlassian-Account-questions/Where-to-find-data-on-users-deactivated-date/qaq-p/1462954
In summary: You can use the audit log to see when the user was deactivated.
Apps like Optimizer - shows the inactive users but not the date and the Advanced User Manager - give the deactivated users, but no dates.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.