Having a folder with a page set as display:
# Get default page:
default_page = obj.getProperty('default_page')
# or:
default_page = obj.getDefaultPage()
# Delete default_page:
obj.manage_delProperties(['default_page'])
obj._p_changed = True
obj.reindexObject(idxs=['default_page'])