Remove-Monday Cmdlet
Deletes Monday data.
Syntax
Remove-Monday [parameters]
Remarks
The Remove-Monday cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Monday data.
$conn = Connect-Monday -APIToken "eyJhbGciOiJIUzI1NiJ9.yJ0aWQiOjE0MTc4NzIxMiwidWlkIjoyNzI3ODM3OSwiaWFkIjoiMjAyMi0wMS0yMFQxMDo0NjoxMy45NDFaIiwicGV" Remove-Monday -Connection $conn -Table "Invoices" -Id "6"The Where parameter can also be used to specify the primary key:
Remove-Monday -Connection $conn -Table "exTablePowershell;" -Where "Id = 6"The primary key can also be passed to the cmdlet along the pipeline:
Select-Monday -Connection $conn -Table Invoices -Where "Status = 'SENT'" | Remove-Monday