You can remove a workspace with bpy.ops.workspace.delete() when it’s active. There does not seem to be a way to remove a workspace when it isn’t.
Other data in bpy.data has a remove function (for example bpy.data.images.remove()), while this is not there for the workspaces.
Is the function still missing or am I missing something?
