To stay GDPR compliant we need to remove profile pictures of former employees who still have a deactivated managed account. There is a button in the UI to remove the picture, but that doesn't scale.
Q: Is there a public API endpoint we can use to programmatically remove profile pictures?
Couldn't find a public API endpoint. Atlassian has been somewhat ... slow, to implement such requests.
I did find the following endpoint, but it DOES NOT work with an Admin API Key. I found it during a logged in session to admin.atlassian.com, and for OCCASIONAL use, you could probably have a script the cloud.session.token cookie (YES THIS IS DANGEROUS) to do this in bulk:
An HTTP DELETE call made to the following URL was able to remove the avatar of a disabled user:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Darryl Lee for pointing this out.
We will probably not go that route and instead just remove all inactive accounts, but it's good to know that there is a way if one needs it.
If only Atlassian could provide complete APIs...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.