Cmdlets for Zendesk

Build 24.0.9175

Remove-Zendesk Cmdlet

Parameters   Output Objects  

Deletes Zendesk data.

Syntax

Remove-Zendesk [parameters]

Remarks

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

$conn = Connect-Zendesk -OAuthClientId 'abc123' -OAuthClientSecret 'def456' -CallbackURL 'http://localhost:33333'
Remove-Zendesk -Connection $conn -Table "Tickets" -Id "1"
The Where parameter can also be used to specify the primary key:
Remove-Zendesk -Connection $conn -Table "exTablePowershell;" -Where "Id = 1"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Zendesk -Connection $conn -Table Tickets -Where "Industry = 'Floppy Disks'" | Remove-Zendesk

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175