Skip to main content

CarbonCopyTerminate

Permanently terminates a carbon copy rule, ending all traffic duplication for the associated mailboxes.

:::caution Established API The SOAP API is in maintenance mode. For new integrations use the REST equivalent. :::

:::danger Irreversible Action Termination is permanent. The carbon copy rule cannot be restored after this call. Use CarbonCopySuspend if you need temporary deactivation. :::

Method Signature

bool CarbonCopyTerminate(string SessionID, int CarbonCopyID)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token from Login()
CarbonCopyIDintYesUnique identifier of the carbon copy rule to permanently terminate

Response

Returns a bool indicating whether the termination succeeded.

ValueMeaning
trueRule permanently set to Terminated; traffic duplication has stopped
falseTermination failed; the rule may already be terminated or the ID is invalid
<!-- Example response XML -->
<CarbonCopyTerminateResult>true</CarbonCopyTerminateResult>

Code Examples

// .NET 10 — dotnet-svcutil generated proxy
// Permanently remove a carbon copy rule that is no longer needed
// Warning: this action cannot be undone
bool success = await client.CarbonCopyTerminateAsync(sessionID, carbonCopyID: 301);

if (success)
Console.WriteLine("Carbon copy rule permanently terminated.");
else
Console.WriteLine("Termination failed — rule may already be terminated.");

See Also

REST Equivalent

See Delete Carbon CopyDELETE /v2/carboncopies/{id}.