- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2022 10:04 AM
By default my App cannot delete records from sys_user_grmember. I am new to SNOW app development. I am wondering if there is a way to give access to my app to delete, so that I can run some scripted APIs and removes users from groups. I am running my API request from a user admin. Also, I created an app_admin_role in the app, but I am not sure how to give it the right permissions.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2022 10:40 AM
Hi,
Unless the Can delete is checked you cannot delete records even using GlideRecord from scope outside global
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2022 10:08 AM
You can also check "Can delete" field to be able to delete record from the table
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2022 10:20 AM
I can check the "Can Delete" in the global, but the intended purpose is that people install the app and be able to used the scripted APIs without them having to tinker with their own instances. Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2022 10:25 AM
Can Delete works for those who are trying to delete record from scoped application.
If you are looking for scripted rest api access, you need to check delete ACL and check for any role and you will need to provide the same role to the integration user to be able to manage the deletions
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2022 10:51 AM
I have shared the details above very clearly and categorically, you can refer to the same and mark correct if it answers your query
Aman Kumar