Interaction on the UI for removing a Network API environment. Mock implementation of the command