Deletes an existing layer with the same slug name as the uploaded layer.