public/api-v2/dashboard/Invoke-JiraDeleteDashboardItemProperty.ps1
#https://developer.atlassian.com/cloud/jira/platform/rest/v2/#api-rest-api-2-dashboard-dashboardId-items-itemId-properties-propertyKey-delete function Invoke-JiraDeleteDashboardItemProperty { [CmdletBinding()] param ( # The ID of the dashboard to retrieve [Parameter(Mandatory,Position=0)] [int64] $DashboardId, # The ID of the dashboard item [Parameter(Mandatory,Position=1)] [int64] $ItemId, # The key for the property to delete [Parameter(Mandatory,Position=2)] [string] $PropertyKey, # The JiraContext object to use for the request [Parameter()] [object] $JiraContext ) process { $functionPath = "/rest/api/2/dashboard/$DashboardId/items/$ItemId/properties/$PropertyKey" $verb = "DELETE" $method = New-PACRestMethod $functionPath $verb $method.Invoke($JiraContext) } } |