code: def tenant_forgot_password_login(self, data, tenant_id=None, api_version="v2.0"):
          
  
          if tenant_id is None and self._parent_class.tenant_id:
              # Pull tenant_id from parent namespace cache.
              tenant_id = self._parent_class.tenant_id
          elif not tenant_id:
              # No value for tenant_id.
              raise TypeError("tenant_id is required but not set or cached.")
          cur_ctlr = self._parent_class.controller
  
          url = str(cur_ctlr) + "/{}/api/tenants/{}/login/password/forgot".format(api_version,
                                                                                  tenant_id)
  
          api_logger.debug("URL = %s", url)
          return self._parent_class.rest_call(url, "post", data=data, sensitive=True)
docs: Forgot password API
  
            **Parameters:**:
  
            - **data**: Dictionary containing data to POST as JSON
            - **tenant_id**: Tenant ID
            - **api_version**: API version to use (default v2.0)
  
          **Returns:** requests.Response object extended with cgx_status and cgx_content properties.