How to hide my hook_menu items from the navigation menu? I've got a custom module which I use to define some urls that are used for a json api. I don't want them to show up in the Navigation menu. How do I change my hook_menu configuration so these urls are excluded from the menu?

Here is an example of two of my menu items that I want to hide, and a third one I would like to be visible:

$items['mymodule/1/login'] = array(
    'page callback' =&gt; 'mymodule_login',
    'access callback' =&gt; TRUE,
);
$items['mymodule/1/signup'] = array(
    'page callback' =&gt; 'mymodule_signup',
    'access callback' =&gt; TRUE,
);
$items['mymodule_bulkupload'] = array(
    'title' =&gt; 'Bulk Upload',
    'page callback' =&gt; 'drupal_get_form',
    'page arguments' =&gt; array('mymoduleapi_form_bulkupload'),
    'access callback' =&gt; 'mymoduleapi_user_is_mymodule_owner',
);


I end up getting a bunch of empty items in my Nav menu. I would like to be able to hide those api menu items. 



How do I control that from within hook_menu?
I think what you need is MENU_CALLBACK in 'type.  

It's for hidden items like API calls that don't want to go in menus

https://api.drupal.org/api/drupal/includes%21menu.inc/constant/MENU_CALLBACK/7