Altium: remove some layer
If you are getting unwanted mechanical layers on the Gerbers, make sure that the 'add to all plot' options are unchecked in the Gerber Setup dialog for the output job. 



You can also hide, delete or delete all objects on a layer but there may be no compelling reason to do so if you just want the layer contents not to appear on the Gerbers.