I received the following from Atlassian Cloud Support stating that tasks 1 and 2, which I defined above in a prior post, cannot be done because there is no provided option. See the response below:
Fernando S commented:
I do have tough news to share with you on that regard. There’s currently no publicly available endpoint to start managed Atlassian accounts deletion, yet.
We do have a feature request to expose the functionality, and I do see there is active development going on - ID-7635: REST API to bulk delete managed accounts, but I don’t have any ETA to share with you. I mentioned your ticket as a internal comment on the feature request and you can also help with traction by leaving any feedback, vote for the feature or watch it for news.
At this feature request thread there is a comment from Alex M, it seems to be a homebrew script so it is unsupported, but it may be worth to check.
This being said, the Jira endpoint is a known workaround to the matter, but it only removes the account from Jira. It does not remove the Atlassian Account, in case you’re aiming to reduce your Atlassian Account count, this won’t help. It also requires that the user was never mentioned on Jira, so it has a limited use case.
Removing/Adding site access is also in development and this is not publicly available yet. This is the feature request that is being used to track the efforts for that - ID-7711: REST API to activate/deactivate users, I also mentioned your support ticket as a internal comment on this one.
To be eligible for this feature we will need to convert your Atlassian Organization to a revised user management experience, suspending/activating site access is only available at the revised user management experience, you’re currently in the legacy one.
To have this in place we will need to create or migrate a single site to your Atlassian Organization. It can be a dummy or test site, the contents of the site does not matter, but we need one created to proceed with internal processes that needs to be updated on the organization.
If you’re interested in proceeding I can share more details, just let me know with your confirmation. Also note that this API is fully experimental.
It is a lot of information, I know. So take your time to review it all and let me know in case of any concerns or doubts.
Do you have a consolidated list with users you want marked for deletion and/or removed from your site? Would it be possible to generate one in case you don’t have it?
Fernando S. - Atlassian Cloud Support - Access