Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to fetch the groups which are not in use and then how to delete it, and scope of API Token?

zzSPPowerAutomate_skyworksinc_com
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 3, 2025

In JIRA Service Management if we go to settings >> User Management >> Groups 

there are many groups, Now I want to delete those groups which are not in use.

first I want to fetch the groups names and then delete those Groups.

How we can achieve that and also if we have to create the API Token, what should be the scope of the API Token.

1 answer

1 vote
Marc -Devoteam-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 3, 2025

Hi @zzSPPowerAutomate_skyworksinc_com 

You need to use the API, https://developer.atlassian.com/cloud/admin/user-provisioning/rest/api-group-groups/#api-group-groups 

These API endpoints can't be used with a scoped API token, only a full API token is required and the user needs to have Site or Org admin permissions.

Suggest an answer

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

Atlassian Community Events