Public/Time/TimeEntries/Remove-CWMTimeEntry.ps1
function Remove-CWMTimeEntry { [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSShouldProcess', '', Justification = 'Used by sub-function')] [CmdletBinding(SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory=$true)] [Alias('entryId')] [int]$id ) $Endpoint = "/time/entries/$($id)" Invoke-CWMRemoveMaster -Endpoint $Endpoint } |