## Cancel `campaigns.cancel(strid) -> CampaignCancelResponse` **post** `/campaigns/{id}/cancel` Cancel a running or scheduled campaign. Pending and queued calls will be aborted, while in-progress calls will be allowed to finish. Unlike deletion, the campaign and its rows are preserved for historical reference. ### Parameters - `id: str` ### Returns - `class CampaignCancelResponse: …` - `success: bool` ### Example ```python 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.campaigns.cancel( "id", ) print(response.success) ```