DeleteCampaign

Deletes a campaign

This method deletes a campaign, and any associated reporting data. If the campaign is currently in use, or being sent to, this call will not be permitted.

SOAP action: http://apiconnector.com/v2/ApiService/DeleteCampaign

📘

Input and output parameters

The input and output parameters for this method are:

Input parameters

  • Campaign ID - required; integer

Output parameters
None

Example

using (var client = new ApiServiceClient())
{
	client.ClientCredentials.UserName.UserName = "username";
	client.ClientCredentials.UserName.Password = "password";

	var campaignId = 1;
	client.DeleteCampaign(campaignId);
}