Delete App permissions in spaces per bulk

Patrick Alexander August 7, 2024

Hi there,

 

we have some old apps in our list of space permissions in every space of the system. After uninstalling the apps, the entries in the space permission are retained. How do we get rid of them? Is there a way to blk remove the permissions via an App or an API-Call?

1 answer

0 votes
Ramin Shanehsaz
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.
August 7, 2024

Hi,

you could remove the permissions by using the Confluence REST API:

For getting the relevant space permissions and their IDs you need the v2 REST API: https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-permissions/#api-spaces-id-permissions-get

After filtering the needed IDs you can use the v1 REST API to delete the permissions: https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions/#api-wiki-rest-api-space-spacekey-permission-id-delete

Suggest an answer

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

Atlassian Community Events