Skip to content
Get started

Delete a campaign

campaigns.delete(strid) -> CampaignDeleteResponse
DELETE/campaigns/{id}

Permanently delete a campaign and all its associated rows. This action is irreversible. In-progress calls will not be affected, but no new calls will be placed.

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

Delete a campaign

import os
from revox import Revox

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