Removes an attachment from a campaign

This method removes an attachment from a campaign.

SOAP action:


Input and output parameters

The input and output parameters for this method are:

Input parameters

  • Campaign ID - required; integer
  • Document ID - required; integer

Output parameters
No output


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

	var campaignId = 1;
	var documentId = 1;
	client.DetachDocumentFromCampaign(campaignId, documentId);