diff --git a/src/ApiManagement/ApiManagement/help/Remove-AzApiManagementApiFromGateway.md b/src/ApiManagement/ApiManagement/help/Remove-AzApiManagementApiFromGateway.md index 75f03a9cb5bc..44da7e9712c0 100644 --- a/src/ApiManagement/ApiManagement/help/Remove-AzApiManagementApiFromGateway.md +++ b/src/ApiManagement/ApiManagement/help/Remove-AzApiManagementApiFromGateway.md @@ -30,6 +30,14 @@ Remove-AzApiManagementApiFromGateway -Context $ApiMgmtContext -GatewayId "012345 This command removes the specified API from a gateway. +### Example 2: Remove an API from a managed gateway +```powershell +$ApiMgmtContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso" +Remove-AzApiManagementApiFromGateway -Context $ApiMgmtContext -GatewayId "managed" -ApiId "0001" -PassThru +``` + +This command removes the specified API from the managed gateway. + ## PARAMETERS ### -ApiId