Skip to content
Get started

Cancel a call

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

Cancel a running or scheduled call.

ParametersExpand Collapse
id: str
ReturnsExpand Collapse
class CallCancelResponse:
success: bool

Cancel a call

import os
from revox import Revox

client = Revox(
    api_key=os.environ.get("REVOX_API_KEY"),  # This is the default and can be omitted
)
response = client.call.cancel(
    "id",
)
print(response.success)
{
  "success": true
}
Returns Examples
{
  "success": true
}