Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I tried using the Get App List block it does not pull app owner IDs.
I would love to run an automation overnight that would delete all the apps from those 3 spaces where owner is not equals to the Admin
Can anyone suggest which blocks we should use?
Thanks
If you want to build a smarter one you can use the Raw API list request with path set to items and some query parameters;
spaceId - your space id
resourceType - app
notOwnerId - <admin user id>
This call will only list apps from the specified space that are not owned by admin. Just add a delete App inside the Raw API list loop.
I guess there are some templates out there you can use as a foundation but if you want to build it from stratch (more fun) i would start with a List Apps, Get App Information, condition if owner from app information is not equal to Admin followed by a delete app if condition eq. true.
If you want to build a smarter one you can use the Raw API list request with path set to items and some query parameters;
spaceId - your space id
resourceType - app
notOwnerId - <admin user id>
This call will only list apps from the specified space that are not owned by admin. Just add a delete App inside the Raw API list loop.