Remove-ITGlueChecklist

SYNOPSIS

Deletes one or more checklists

SYNTAX

BulkDestroy (Default)

Remove-ITGlueChecklist [-OrganizationID <Int64>] -Data <Object> [-WhatIf] [-Confirm] [<CommonParameters>]

Destroy

Remove-ITGlueChecklist [-OrganizationID <Int64>] -ID <Int64> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The Remove-ITGlueChecklist cmdlet deletes one or more specified checklists

EXAMPLES

EXAMPLE 1

Remove-ITGlueChecklist -OrganizationID 12345 -ID 8765309

Deletes the defined checklist

EXAMPLE 2

Remove-ITGlueChecklist -OrganizationID 12345 -Data $JsonBody

Deletes the defined checklist with the specified JSON body

PARAMETERS

-OrganizationID

A valid organization Id in your account

Type: Int64
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-ID

A valid checklist id

Type: Int64
Parameter Sets: Destroy
Aliases:

Required: True
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Data

JSON body depending on bulk changes or not

Do NOT include the “Data” property in the JSON object as this is handled by the Invoke-ITGlueRequest function

Type: Object
Parameter Sets: BulkDestroy
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

N/A

https://celerium.github.io/Celerium.ITGlue/site/Checklists/Remove-ITGlueChecklist.html

https://api.itglue.com/developer/#checklists