how to close a scene in Godot Editor via EditorPlugin?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Wender Alves Libório

I am extending EditorPlugin to easily manage scenes, I added scenes successfully but I want to close tabs scenes in doing so.

It is easy to load a new scene using

get_editor_interface().open_scene_from_path(path)

is there equivalent to remove/deleting scene elsewhere? I couldn’t find it!