Cmdlets for Zoho Books

Build 24.0.9060

Remove-ZohoBooks Cmdlet

Parameters   Output Objects  

Deletes Zoho Books data.

Syntax

Remove-ZohoBooks [parameters]

Remarks

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

$conn = Connect-ZohoBooks -InitiateOAuth "GETANDREFRESH" -OrganizationId "YourOrganizationId"
Remove-ZohoBooks -Connection $conn -Table "INVOICES" -Id "1894553000000026007"
The Where parameter can also be used to specify the primary key:
Remove-ZohoBooks -Connection $conn -Table "exTablePowershell;" -Where "Id = 1894553000000026007"
The primary key can also be passed to the cmdlet along the pipeline:
Select-ZohoBooks -Connection $conn -Table INVOICES -Where "CustomerName = 'NewTech Industries'" | Remove-ZohoBooks

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