Remove-ITGlueDocumentSection
SYNOPSIS
Deletes the specified section and its associated polymorphic resource
SYNTAX
Remove-ITGlueDocumentSection -DocumentId <Int64> -Id <Int64> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
The Remove-ITGlueDocumentSection cmdlet deletes the specified section and its associated polymorphic resource
Deleting a Gallery or Step section will also delete all associated images
EXAMPLES
EXAMPLE 1
Remove-ITGlueDocumentSection -DocumentId 8675309 -Id 12345 -Data $JsonBody
Deletes the specified section in the defined document
PARAMETERS
-DocumentId
The document id
Type: Int64
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: 0
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Id
The id of the section
Type: Int64
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: 0
Accept pipeline input: True (ByValue)
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
RELATED LINKS
https://celerium.github.io/Celerium.ITGlue/site/DocumentSections/Remove-ITGlueDocumentSection.html