code: async def InvalidateModelCredential(self, reason):
          '''
          reason : str
          Returns -> Error
          '''
          # map input types to rpc msg
          _params = dict()
          msg = dict(type='CredentialManager',
                     request='InvalidateModelCredential',
                     version=1,
                     params=_params)
          _params['reason'] = reason
          reply = await self.rpc(msg)
          return replync def InvalidateModelCredential(self, reason):
          '''
          reason : str
          Returns -> Error
          '''
          # map input types to rpc msg
          _params = dict()
          msg = dict(type='CredentialManager',
                     request='InvalidateModelCredential',
                     version=1,
                     params=_params)
          _params['reason'] = reason
          reply = await self.rpc(msg)
          return reply
docs: reason : str
          Returns -> Error