code: def delete(self, namespacePrefix):
          
          ns = db.ConfigNamespace.find_one(ConfigNamespace.namespace_prefix == namespacePrefix)
          if not ns:
              return self.make_response('No such namespace: {}'.format(namespacePrefix), HTTP.NOT_FOUND)
  
          db.session.delete(ns)
          db.session.commit()
  
          self.dbconfig.reload_data()
          auditlog(
              event='configNamespace.delete',
              actor=session['user'].username,
              data={'namespacePrefix': namespacePrefix}
          )
          return self.make_response('Namespace deleted')
docs: Delete a specific configuration namespace