Azure ExpressRoute Route Filters API

The RouteFilters API from Azure ExpressRoute — 3 operation(s) for routefilters.

Operations 6

GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters Route filters list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters Route filters list by resource group #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName} Route filters get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName} Route filters create or update #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName} Route filters update tags #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName} Route filters delete #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure-express-route:microsoft-azure-express-route-routefilters-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-express-route-routefilters-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Express Route Route Filters API
  version: '2026-03-01'
  x-refined-note:
  - x-source differs across the merged source definitions and was not carried
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
  description: 'Operations tagged RouteFilters across 2 of this provider''s published API definitions: microsoft-azure-express-route-expressroute-swagger.json, microsoft-azure-express-route-expressroute-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: RouteFilters
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters:
    get:
      operationId: RouteFilters_List
      tags:
      - RouteFilters
      description: Gets all route filters in a subscription.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteFilterListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ./common.json#/definitions/CloudError
      x-ms-examples:
        RouteFilterList:
          $ref: ./examples/RouteFilterList.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Route filters list
      x-summary-source: derived
    servers:
    - url: https://management.azure.com
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters:
    get:
      operationId: RouteFilters_ListByResourceGroup
      tags:
      - RouteFilters
      description: Gets all route filters in a resource group.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteFilterListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ./common.json#/definitions/CloudError
      x-ms-examples:
        RouteFilterListByResourceGroup:
          $ref: ./examples/RouteFilterListByResourceGroup.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Route filters list by resource group
      x-summary-source: derived
    servers:
    - url: https://management.azure.com
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}
  : get:
      operationId: RouteFilters_Get
      tags:
      - RouteFilters
      description: Gets the specified route filter.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: routeFilterName
        in: path
        description: The name of the route filter.
        required: true
        schema:
          type: string
      - name: $expand
        in: query
        description: Expands referenced express route bgp peering resources.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteFilter'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ./common.json#/definitions/CloudError
      x-ms-examples:
        RouteFilterGet:
          $ref: ./examples/RouteFilterGet.json
      summary: Route filters get
      x-summary-source: derived
    put:
      operationId: RouteFilters_CreateOrUpdate
      tags:
      - RouteFilters
      description: Creates or updates a route filter in a specified resource group.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: routeFilterName
        in: path
        description: The name of the route filter.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource 'RouteFilter' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteFilter'
        '201':
          description: Resource 'RouteFilter' create operation succeeded
          headers:
            Azure-AsyncOperation:
              description: A link to the status monitor
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteFilter'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ./common.json#/definitions/CloudError
      x-ms-examples:
        RouteFilterCreate:
          $ref: ./examples/RouteFilterCreate.json
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
        final-state-schema: '#/definitions/RouteFilter'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RouteFilter'
        description: Parameters supplied to the create or update route filter operation.
        required: true
      summary: Route filters create or update
      x-summary-source: derived
    patch:
      operationId: RouteFilters_UpdateTags
      tags:
      - RouteFilters
      description: Updates tags of a route filter.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: routeFilterName
        in: path
        description: The name of the route filter.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteFilter'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ./common.json#/definitions/CloudError
      x-ms-examples:
        Update route filter tags:
          $ref: ./examples/RouteFilterUpdateTags.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: ./common.json#/definitions/TagsObject
        description: Parameters supplied to update route filter tags.
        required: true
      summary: Route filters update tags
      x-summary-source: derived
    delete:
      operationId: RouteFilters_Delete
      tags:
      - RouteFilters
      description: Deletes the specified route filter.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: routeFilterName
        in: path
        description: The name of the route filter.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource deleted successfully.
        '202':
          description: Resource deletion accepted.
          headers:
            Azure-AsyncOperation:
              description: A link to the status monitor
              schema:
                type: string
                format: uri
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ./common.json#/definitions/CloudError
      x-ms-examples:
        RouteFilterDelete:
          $ref: ./examples/RouteFilterDelete.json
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-long-running-operation: true
      summary: Route filters delete
      x-summary-source: derived
    servers:
    - url: https://management.azure.com
components:
  schemas:
    Ipv6ExpressRouteCircuitPeeringConfig:
      type: object
      description: Contains IPv6 peering config.
      properties:
        primaryPeerAddressPrefix:
          type: string
          description: The primary address prefix.
        secondaryPeerAddressPrefix:
          type: string
          description: The secondary address prefix.
        microsoftPeeringConfig:
          $ref: '#/components/schemas/ExpressRouteCircuitPeeringConfig'
          description: The Microsoft peering configuration.
        routeFilter:
          $ref: ./common.json#/definitions/SubResource
          description: The reference to the RouteFilter resource.
        state:
          $ref: ./common.json#/definitions/ExpressRouteCircuitPeeringState
          description: The state of peering.
    ExpressRouteCircuitPeeringPropertiesFormat:
      type: object
      description: Properties of the express route circuit peering.
      properties:
        peeringType:
          $ref: ./common.json#/definitions/ExpressRoutePeeringType
          description: The peering type.
        state:
          $ref: ./common.json#/definitions/ExpressRoutePeeringState
          description: The peering state.
        azureASN:
          type: integer
          format: int32
          description: The Azure ASN.
        peerASN:
          type: integer
          format: int64
          description: The peer ASN.
          minimum: 1
          maximum: 4294967295
        primaryPeerAddressPrefix:
          type: string
          description: The primary address prefix.
        secondaryPeerAddressPrefix:
          type: string
          description: The secondary address prefix.
        primaryAzurePort:
          type: string
          description: The primary port.
        secondaryAzurePort:
          type: string
          description: The secondary port.
        sharedKey:
          type: string
          description: The shared key.
        vlanId:
          type: integer
          format: int32
          description: The VLAN ID.
        microsoftPeeringConfig:
          $ref: '#/components/schemas/ExpressRouteCircuitPeeringConfig'
          description: The Microsoft peering configuration.
        stats:
          $ref: '#/components/schemas/ExpressRouteCircuitStats'
          description: The peering stats of express route circuit.
        provisioningState:
          $ref: ./common.json#/definitions/ProvisioningState
          description: The provisioning state of the express route circuit peering resource.
          readOnly: true
        gatewayManagerEtag:
          type: string
          description: The GatewayManager Etag.
        lastModifiedBy:
          type: string
          description: Who was the last to modify the peering.
          readOnly: true
        routeFilter:
          $ref: ./common.json#/definitions/SubResource
          description: The reference to the RouteFilter resource.
        ipv6PeeringConfig:
          $ref: '#/components/schemas/Ipv6ExpressRouteCircuitPeeringConfig'
          description: The IPv6 peering configuration.
        expressRouteConnection:
          $ref: ./virtualWan.json#/definitions/ExpressRouteConnectionId
          description: The ExpressRoute connection.
        connections:
          type: array
          description: The list of circuit connections associated with Azure Private Peering for this circuit.
          items:
            $ref: '#/components/schemas/ExpressRouteCircuitConnection'
        peeredConnections:
          type: array
          description: The list of peered circuit connections associated with Azure Private Peering for this circuit.
          items:
            $ref: '#/components/schemas/PeerExpressRouteCircuitConnection'
          readOnly: true
    ExpressRouteCircuitPeeringConfig:
      type: object
      description: Specifies the peering configuration.
      properties:
        advertisedPublicPrefixes:
          type: array
          description: The reference to AdvertisedPublicPrefixes.
          items:
            type: string
        advertisedCommunities:
          type: array
          description: The communities of bgp peering. Specified for microsoft peering.
          items:
            type: string
        advertisedPublicPrefixesState:
          $ref: ./common.json#/definitions/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState
          description: The advertised public prefix state of the Peering resource.
          readOnly: true
        legacyMode:
          type: integer
          format: int32
          description: The legacy mode of the peering.
        customerASN:
          type: integer
          format: int32
          description: The CustomerASN of the peering.
        routingRegistryName:
          type: string
          description: The RoutingRegistryName of the configuration.
        advertisedPublicPrefixInfo:
          type: array
          description: List of Prefix information required to perform validation.
          items:
            $ref: '#/components/schemas/AdvertisedPublicPrefixProperties'
          x-ms-identifiers: []
    ExpressRouteCircuitConnectionPropertiesFormat:
      type: object
      description: Properties of the express route circuit connection.
      properties:
        expressRouteCircuitPeering:
          $ref: ./common.json#/definitions/SubResource
          description: Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
        peerExpressRouteCircuitPeering:
          $ref: ./common.json#/definitions/SubResource
          description: Reference to Express Route Circuit Private Peering Resource of the peered circuit.
        addressPrefix:
          type: string
          description: /29 IP address space to carve out Customer addresses for tunnels.
        authorizationKey:
          type: string
          description: The authorization key.
        ipv6CircuitConnectionConfig:
          $ref: '#/components/schemas/Ipv6CircuitConnectionConfig'
          description: IPv6 Address PrefixProperties of the express route circuit connection.
        circuitConnectionStatus:
          $ref: ./common.json#/definitions/CircuitConnectionStatus
          description: Express Route Circuit connection state.
          readOnly: true
        provisioningState:
          $ref: ./common.json#/definitions/ProvisioningState
          description: The provisioning state of the express route circuit connection resource.
          readOnly: true
    RouteFilterRule:
      type: object
      description: Route Filter Rule Resource.
      properties:
        properties:
          $ref: '#/components/schemas/RouteFilterRulePropertiesFormat'
          description: Properties of the route filter rule.
          x-ms-client-flatten: true
        name:
          type: string
          description: The name of the resource that is unique within a resource group. This name can be used to access the resource.
        location:
          type: string
          description: Resource location.
        etag:
          type: string
          description: A unique read-only string that changes whenever the resource is updated.
          readOnly: true
      allOf:
      - $ref: ./common.json#/definitions/SubResource
    AdvertisedPublicPrefixProperties:
      type: object
      description: Prefix properties required to perform validation using openssl signature.
      properties:
        prefix:
          type: string
          description: Advertised Public Prefix.
        validationId:
          type: string
          description: Validation string that contains circuit peering info.
        signature:
          type: string
          description: Signed string generated by encrypting validationId with a private key.
        validationState:
          $ref: ./common.json#/definitions/AdvertisedPublicPrefixPropertiesValidationState
          description: Advertised Public Prefix State that denotes if the prefix is validated or not.
          readOnly: true
    RouteFilterListResult:
      type: object
      description: The response of a RouteFilter list operation.
      properties:
        value:
          type: array
          description: The RouteFilter items on this page
          items:
            $ref: '#/components/schemas/RouteFilter'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    ExpressRouteCircuitPeering:
      type: object
      description: Peering in an ExpressRouteCircuit resource.
      properties:
        properties:
          $ref: '#/components/schemas/ExpressRouteCircuitPeeringPropertiesFormat'
          description: Properties of the express route circuit peering.
          x-ms-client-flatten: true
        etag:
          type: string
          description: A unique read-only string that changes whenever the resource is updated.
          readOnly: true
      allOf:
      - $ref: ./common.json#/definitions/SubResourceModel
    RouteFilterRulePropertiesFormat:
      type: object
      description: Route Filter Rule Resource.
      properties:
        access:
          $ref: ./common.json#/definitions/Access
          description: The access type of the rule.
        routeFilterRuleType:
          $ref: ./common.json#/definitions/RouteFilterRuleType
          description: The rule type of the rule.
        communities:
          type: array
          description: The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
          items:
            type: string
        provisioningState:
          $ref: ./common.json#/definitions/ProvisioningState
          description: The provisioning state of the route filter rule resource.
          readOnly: true
      required:
      - access
      - routeFilterRuleType
      - communities
    RouteFilter:
      type: object
      description: Route Filter Resource.
      properties:
        properties:
          $ref: '#/components/schemas/RouteFilterPropertiesFormat'
          description: Properties of the route filter.
          x-ms-client-flatten: true
        etag:
          type: string
          description: A unique read-only string that changes whenever the resource is updated.
          readOnly: true
      allOf:
      - $ref: ./common.json#/definitions/TrackedResourceWithSettableIdOptionalLocation
    PeerExpressRouteCircuitConnectionPropertiesFormat:
      type: object
      description: Properties of the peer express route circuit connection.
      properties:
        expressRouteCircuitPeering:
          $ref: ./common.json#/definitions/SubResource
          description: Reference to Express Route Circuit Private Peering Resource of the circuit.
        peerExpressRouteCircuitPeering:
          $ref: ./common.json#/definitions/SubResource
          description: Reference to Express Route Circuit Private Peering Resource of the peered circuit.
        addressPrefix:
          type: string
          description: /29 IP address space to carve out Customer addresses for tunnels.
        circuitConnectionStatus:
          $ref: ./common.json#/definitions/CircuitConnectionStatus
          description: Express Route Circuit connection state.
          readOnly: true
        connectionName:
          type: string
          description: The name of the express route circuit connection resource.
        authResourceGuid:
          type: string
          description: The resource guid of the authorization used for the express route circuit connection.
        provisioningState:
          $ref: ./common.json#/definitions/ProvisioningState
          description: The provisioning state of the peer express route circuit connection resource.
          readOnly: true
    PeerExpressRouteCircuitConnection:
      type: object
      description: Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
      properties:
        properties:
          $ref: '#/components/schemas/PeerExpressRouteCircuitConnectionPropertiesFormat'
          description: Properties of the peer express route circuit connection.
          x-ms-client-flatten: true
        etag:
          type: string
          description: A unique read-only string that changes whenever the resource is updated.
          readOnly: true
      allOf:
      - $ref: ./common.json#/definitions/SubResourceModel
    Ipv6CircuitConnectionConfig:
      type: object
      description: IPv6 Circuit Connection properties for global reach.
      properties:
        addressPrefix:
          type: string
          description: /125 IP address space to carve out customer addresses for global reach.
        circuitConnectionStatus:
          $ref: ./common.json#/definitions/CircuitConnectionStatus
          description: Express Route Circuit connection state.
          readOnly: true
    ExpressRouteCircuitConnection:
      type: object
      description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
      properties:
        properties:
          $ref: '#/components/schemas/ExpressRouteCircuitConnectionPropertiesFormat'
          description: Properties of the express route circuit connection.
          x-ms-client-flatten: true
        etag:
          type: string
          description: A unique read-only string that changes whenever the resource is updated.
          readOnly: true
      allOf:
      - $ref: ./common.json#/definitions/SubResourceModel
    RouteFilterPropertiesFormat:
      type: object
      description: Route Filter Resource.
      properties:
        rules:
          type: array
          description: Collection of RouteFilterRules contained within a route filter.
          items:
            $ref: '#/components/schemas/RouteFilterRule'
        peerings:
          type: array
          description: A collection of references to express route circuit peerings.
          items:
            $ref: '#/components/schemas/ExpressRouteCircuitPeering'
          readOnly: true
        ipv6Peerings:
          type: array
          description: A collection of references to express route circuit ipv6 peerings.
          items:
            $ref: '#/components/schemas/ExpressRouteCircuitPeering'
          readOnly: true
        provisioningState:
          $ref: ./common.json#/definitions/ProvisioningState
          description: The provisioning state of the route filter resource.
          readOnly: true
    ExpressRouteCircuitStats:
      type: object
      description: Contains stats associated with the peering.
      properties:
        primarybytesIn:
          type: integer
          format: int64
          description: The Primary BytesIn of the peering.
        primarybytesOut:
          type: integer
          format: int64
          description: The primary BytesOut of the peering.
        secondarybytesIn:
          type: integer
          format: int64
          description: The secondary BytesIn of the peering.
        secondarybytesOut:
          type: integer
          format: int64
          description: The secondary BytesOut of the peering.
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.
x-refined-from:
- microsoft-azure-express-route-expressroute-swagger.json
- microsoft-azure-express-route-expressroute-openapi.json