lib/plaid/api/plaid_api.rb
# Delete an Asset Report
# The &#x60;/item/remove&#x60; endpoint allows you to invalidate an &#x60;access_token&#x60;, meaning you will not be able to create new Asset Reports with it. Removing an Item does not affect any Asset Reports or Audit Copies you have already created, which will remain accessible until you remove them specifically.  The &#x60;/asset_report/remove&#x60; endpoint allows you to remove an Asset Report. Removing an Asset Report invalidates its &#x60;asset_report_token&#x60;, meaning you will no longer be able to use it to access Report data or create new Audit Copies. Removing an Asset Report does not affect the underlying Items, but does invalidate any &#x60;audit_copy_tokens&#x60; associated with the Asset Report.
# @param asset_report_remove_request [AssetReportRemoveRequest] 
# @param [Hash] opts the optional parameters
# @return [Array<(AssetReportRemoveResponse, Integer, Hash)>] AssetReportRemoveResponse data, response status code and response headers
Delete an Asset Report
The `/item/remove` endpoint allows you to invalidate an `access_token`, meaning you will not be able to create new Asset Reports with it. Removing an Item does not affect any Asset Reports or Audit Copies you have already created, which will remain accessible until you remove them specifically.  The `/asset_report/remove` endpoint allows you to remove an Asset Report. Removing an Asset Report invalidates its `asset_report_token`, meaning you will no longer be able to use it to access Report data or create new Audit Copies. Removing an Asset Report does not affect the underlying Items, but does invalidate any `audit_copy_tokens` associated with the Asset Report.
Delete an Asset Report The ` / item / remove ` endpoint allows you to invalidate an ` access_token ` meaning you will not be able to create new Asset Reports with it . Removing an Item does not affect any Asset Reports or Audit Copies you have already created which will remain accessible until you remove them specifically . The ` / asset_report / remove ` endpoint allows you to remove an Asset Report . Removing an Asset Report invalidates its ` asset_report_token ` meaning you will no longer be able to use it to access Report data or create new Audit Copies . Removing an Asset Report does not affect the underlying Items but does invalidate any ` audit_copy_tokens ` associated with the Asset Report .
def asset_report_remove_with_http_info(asset_report_remove_request, opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug 'Calling API: PlaidApi.asset_report_remove ...'
      end
      if @api_client.config.client_side_validation && asset_report_remove_request.nil?
        fail ArgumentError, "Missing the required parameter 'asset_report_remove_request' when calling PlaidApi.asset_report_remove"
      end
      local_var_path = '/asset_report/remove'
      query_params = opts[:query_params] || {}
      header_params = opts[:header_params] || {}
      header_params['Accept'] = @api_client.select_header_accept(['application/json'])
      header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
      form_params = opts[:form_params] || {}
      post_body = opts[:debug_body] || @api_client.object_to_http_body(asset_report_remove_request)
      return_type = opts[:debug_return_type] || 'AssetReportRemoveResponse'
      auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret']
      new_options = opts.merge(
        :operation => :"PlaidApi.asset_report_remove",
        :header_params => header_params,
        :query_params => query_params,
        :form_params => form_params,
        :body => post_body,
        :auth_names => auth_names,
        :return_type => return_type
      )
      data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
      if @api_client.config.debugging
        @api_client.config.logger.debug "API called: PlaidApi#asset_report_remove\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
def asset_report_remove_with_http_info ( asset_report_remove_request , opts = { } ) if @api_client . config . debugging @api_client . config . logger . debug 'Calling API: PlaidApi.asset_report_remove ...' end if @api_client . config . client_side_validation && asset_report_remove_request . nil? fail ArgumentError , "Missing the required parameter 'asset_report_remove_request' when calling PlaidApi.asset_report_remove" end local_var_path = '/asset_report/remove' query_params = opts [ :query_params ] || { } header_params = opts [ :header_params ] || { } header_params [ 'Accept' ] = @api_client . select_header_accept ( [ 'application/json' ] ) header_params [ 'Content-Type' ] = @api_client . select_header_content_type ( [ 'application/json' ] ) form_params = opts [ :form_params ] || { } post_body = opts [ :debug_body ] || @api_client . object_to_http_body ( asset_report_remove_request ) return_type = opts [ :debug_return_type ] || 'AssetReportRemoveResponse' auth_names = opts [ :debug_auth_names ] || [ 'clientId' , 'plaidVersion' , 'secret' ] new_options = opts . merge ( :operation => :" PlaidApi.asset_report_remove " , :header_params => header_params , :query_params => query_params , :form_params => form_params , :body => post_body , :auth_names => auth_names , :return_type => return_type ) data , status_code , headers = @api_client . call_api ( :POST , local_var_path , new_options ) if @api_client . config . debugging @api_client . config . logger . debug "API called: PlaidApi#asset_report_remove\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data , status_code , headers end
Delete an Asset Report
The &#x60;/item/remove&#x60; endpoint allows you to invalidate an &#x60;access_token&#x60;, meaning you will not be able to create new Asset Reports with it.
Delete an Asset Report The &#x60 ; / item / remove&#x60 ; endpoint allows you to invalidate an &#x60 ; access_token&#x60 ; meaning you will not be able to create new Asset Reports with it .
# verify the required parameter 'asset_report_remove_request' is set # resource path # query parameters # header parameters # HTTP header 'Accept' (if needed) # HTTP header 'Content-Type' # form parameters # http body (model) # return_type # auth_names
AssetReportRemoveResponse data, response status code and response headers
AssetReportRemoveResponse data response status code and response headers
Array<(AssetReportRemoveResponse, Integer, Hash)>
asset_report_remove_request
opts
None
opts the optional parameters
opts the optional parameters