api: added resetting namespace by setting empty namespace.