Skip to content
Get started

Cancel a call

call.cancel(id) -> CallCancelResponse { success }
POST/call/{id}/cancel

Cancel a running or scheduled call.

ParametersExpand Collapse
id: String
ReturnsExpand Collapse
class CallCancelResponse { success }
success: bool

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
}