def METHOD_NAME(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