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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.