< Back
Remove-PodeRoute
Post
NAME Remove-PodeRoute
SYNOPSIS
Remove a specific Route.
SYNTAX
Remove-PodeRoute [-Method] <String> [-Path] <String> [[-Protocol] <String>] [[-Endpoint] <String>]
[<CommonParameters>]
DESCRIPTION
Remove a specific Route.
PARAMETERS
-Method <String>
The method of the Route to remove.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Path <String>
The path of the Route to remove.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Protocol <String>
The protocol of the Route to remove.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Endpoint <String>
The endpoint of the Route to remove.
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-PodeRoute -Method Get -Route '/about'
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Remove-PodeRoute -Method Post -Route '/users/:userId' -Endpoint 127.0.0.2:8001
RELATED LINKS
SYNOPSIS
Remove a specific Route.
SYNTAX
Remove-PodeRoute [-Method] <String> [-Path] <String> [[-Protocol] <String>] [[-Endpoint] <String>]
[<CommonParameters>]
DESCRIPTION
Remove a specific Route.
PARAMETERS
-Method <String>
The method of the Route to remove.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Path <String>
The path of the Route to remove.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Protocol <String>
The protocol of the Route to remove.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Endpoint <String>
The endpoint of the Route to remove.
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-PodeRoute -Method Get -Route '/about'
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Remove-PodeRoute -Method Post -Route '/users/:userId' -Endpoint 127.0.0.2:8001
RELATED LINKS