def cancel_agreement(agreement_id, notify_signer=false, comment=nil)
     request_body = {
       "value" => "CANCEL",
       "notifySigner" => notify_signer 
     }
     request_body.merge!(comment: comment) unless comment.nil?

     agreement_status_response = Echochamber::Request.update_agreement_status(token, agreement_id, request_body)
     agreement_status_response.fetch('result')
   end
def cancel_agreement(agreement_id, notify_signer=false, comment=nil)
     request_body = {
       "value" => "CANCEL",
       "notifySigner" => notify_signer 
     }
     request_body.merge!(comment: comment) unless comment.nil?

     agreement_status_response = Echochamber::Request.update_agreement_status(token, agreement_id, request_body)
     agreement_status_response.fetch('result')
   end
Cancel agreement

 @param agreement_id [String] (REQUIRED)
 @param notify_signer [Boolean] Whether to notify the signer by email of the cancellation.  Default is false.
 @param comment [String] Comment regarding this cancellation.
 @return [String] Result of the operation