Hi
I am trying to do do a clean up of users and their licenses on Jira Cloud, not deactivating their Jira accounts. Using this endpoint https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-groups/#api-rest-api-2-group-user-delete (as I have seen on Solved: Is there an admin API(organisation level) to revok...):
https://qqqqq.atlassian.net/rest/api/2/group/user?accountId=123abc&groupId=456def
But getting either “Specified user does not exist or you do not have required permissions” or “The group ID and group name can not be empty.” errorMessages.
I have tried the group ID, group name, user account ID and username …
Please advise ASAP if anyone has gotten this working?
Thank you
Yatish