Skip to content

Clear-PodeRoutes

SYNOPSIS

Removes all added Routes, or Routes for a specific Method.

SYNTAX

Clear-PodeRoutes [[-Method] <String>] [<CommonParameters>]

DESCRIPTION

Removes all added Routes, or Routes for a specific Method.

EXAMPLES

EXAMPLE 1

Clear-PodeRoutes

EXAMPLE 2

Clear-PodeRoutes -Method Get

PARAMETERS

-Method

The Method to from which to remove all Routes.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
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