Remove-Zendesk Cmdlet
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