Cmdlets for Zuora

Build 24.0.9060

Remove-Zuora Cmdlet

Parameters   Output Objects  

Deletes Zuora data.

Syntax

Remove-Zuora [parameters]

Remarks

The Remove-Zuora cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Zuora data.

$conn = Connect-Zuora -InitiateOAuth "GETANDREFRESH" -OAuthClientID "MyOAuthClientId" -OAuthClientSecret "MyOAuthClientSecret" -Tenant "USProduction" -ZuoraService "DataQuery"
Remove-Zuora -Connection $conn -Table "SampleTable_1" -Id "6"
The Where parameter can also be used to specify the primary key:
Remove-Zuora -Connection $conn -Table "exTablePowershell;" -Where "Id = 6"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Zuora -Connection $conn -Table SampleTable_1 -Where "Column2 = 'Bob'" | Remove-Zuora

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060