SOAR stores all playbook in playbook table in PostgreSQL database. If for any reason the playbook become obsolete and it cannot be deleted from the web portal, the problematic playbook can be manually disabled from playbook table via update statement against PostgreSql DB directly as a workaround.
On SOAR Web UI, navigate to “Playbooks“ page
Select the playbook that needs to be deleted
After click "Delete" and then "Confirm", it shows the error message as below:
Delete PlaybooksDeleted 0 playbook.
Failed to delete My-Demo-Playbook-to-delete (id: 28157)"
#phenv python /opt/phantom/www/manager.py dbshell
phantom=> SELECT id, name, version, disabled,python_version FROM playbook where id=28157; id | name | version | disabled | python_version-------+----------------------------------------------+---------+----------+----------------28157 | My-Demo-Playbook-to-delete | 15 | f | 3(1 row)
phantom=> UPDATE playbook SET disabled=True WHERE id = 28157;UPDATE 1phantom=> SELECT id, name, version, disabled,python_version FROM playbook where id=28157; id | name | version | disabled | python_version-------+----------------------------------------------+---------+----------+----------------28157 | My-Demo-Playbook-to-delete | 15 | t | 3(1 row)
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |