code: def delete(name):
      '''
      Delete the namespace from the register
  
      USAGE:
  
      .. code-block:: yaml
  
          deletens:
            reg.delete:
              - name: myregister
      '''
      ret = {'name': name,
             'changes': {},
             'comment': '',
             'result': True}
      if name in __reg__:
          del __reg__[name]
      return ref delete(name):
      '''
      Delete the namespace from the register
  
      USAGE:
  
      .. code-block:: yaml
  
          deletens:
            reg.delete:
              - name: myregister
      '''
      ret = {'name': name,
             'changes': {},
             'comment': '',
             'result': True}
      if name in __reg__:
          del __reg__[name]
      return ret
docs: Delete the namespace from the register
  
      USAGE:
  
      .. code-block:: yaml
  
          deletens:
            reg.delete:
              - name: myregister