require "hellosign-ruby-sdk" HelloSign.configure do |config| # Configure HTTP basic authorization: api_key config.username = "YOUR_API_KEY" # or, configure Bearer (JWT) authorization: oauth2 # config.access_token = "YOUR_ACCESS_TOKEN" end api = HelloSign::SignatureRequestApi.new signature_request_id = "2f9781e1a8e2045224d808c153c2e1d3df6f8f2f" begin result = api.signature_request_remove(signature_request_id) p result rescue HelloSign::ApiError => e puts "Exception when calling HelloSign API: #{e}" end