Method: Vonage::Verify2#cancel_verification_request

Defined in:
lib/vonage/verify2.rb

#cancel_verification_request(request_id:) ⇒ Object

Cancel a verifiction. If a verification request is still active, calling this method aborts the workflow.

Examples:

client.verify2.cancel_verification_request(request_id: '7e8c5965-0a3f-44df-8a14-f1486209d8a2')

Parameters:

  • :request_id (required, String)

    The request_id of the verification request to be cancelled

See Also:



68
69
70
# File 'lib/vonage/verify2.rb', line 68

def cancel_verification_request(request_id:)
  request('/v2/verify/' + request_id, type: Delete)
end