- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2017 06:14 PM
Hi,
We are in the process of decommissioning a particular team from our instance and wanted to delete a Knowledgebase that they created.
I tried assigning myself as the Knowledgebase Owner and I am already an admin, but unable to delete the Knowledgebase. Any tips?
Solved! Go to Solution.
- Labels:
-
Knowledge Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2017 06:28 PM
Check out this relevant thread: Can you delete an entire Knowledge Base?
Two ways forward:
1. Simply set the KB Active = False, and add a can read user criteria on it to admins only.
2. As admin, run a background script to delete the specific record. Be very cautious when doing this!:
- var kbase = new GlideRecord('kb_knowledge_base');
- kbase.addQuery('sys_id', 'SYSID OF KB TO DELETE HERE'); // you can right click the kb record header to copy the sysID
- kbase.query();
- while (kbase.next()) {
- kbase.deleteRecord();
- }

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2017 06:28 PM
Check out this relevant thread: Can you delete an entire Knowledge Base?
Two ways forward:
1. Simply set the KB Active = False, and add a can read user criteria on it to admins only.
2. As admin, run a background script to delete the specific record. Be very cautious when doing this!:
- var kbase = new GlideRecord('kb_knowledge_base');
- kbase.addQuery('sys_id', 'SYSID OF KB TO DELETE HERE'); // you can right click the kb record header to copy the sysID
- kbase.query();
- while (kbase.next()) {
- kbase.deleteRecord();
- }