Stop a call’s future attempts. A call that has not started dialing yet is cancelled right away. A call whose attempt is already in progress is not hung up: that attempt finishes, and no retry or callback is scheduled after it. Returns 409 when the call is already in a terminal status.
Cancel a call
require "revox"
revox = Revox::Client.new(api_key: "My API Key")
response = revox.call.cancel("id")
puts(response){
"success": true
}Returns Examples
{
"success": true
}