Need An Email Marketing Solution For All Of Your Customers?

Partner With VerticalResponse!

deleteCampaign


The deleteCampaign() method soft deletes a campaign. This operation can be undone with a call to undeleteCampaign().

Input

[vrtypens:deleteCampaignArgs]

session_id [xsd:string] (required)
Your API session id.
campaign_id [xsd:int] (required)
The id of the campaign to delete.

Output

[xsd:boolean]
The output is always true.

Examples

Perl

$vrapi->deleteCampaign( {
    session_id => $sid,
    campaign_id => $cid,
} );

PHP

$vrapi->deleteCampaign( array(
    'session_id'  => $sid,
    'campaign_id' => $cid,
) );

Ruby

vr.deleteCampaign({
    'session_id'  => sid,
    'campaign_id' => cid,
})