Azure Networking Services Routes API

The Routes API from Azure Networking Services — 2 operation(s) for routes.

GitHub OpenAPI

Operations 4

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes Routes list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName} Routes get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName} Routes create or update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName} Routes 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/azure-networking-services:azure-networking-services-routes-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

azure-networking-services-routes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WebApplicationFirewallManagement Routes API
  version: '2026-03-01'
  description: APIs to manage Microsoft Azure network resources.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Routes
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes
  : get:
      operationId: Routes_List
      tags:
      - Routes
      description: Gets all routes in a route table.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: routeTableName
        in: path
        description: The name of the route table.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Routes list
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}
  : get:
      operationId: Routes_Get
      tags:
      - Routes
      description: Gets the specified route from a route table.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: routeTableName
        in: path
        description: The name of the route table.
        required: true
        schema:
          type: string
      - name: routeName
        in: path
        description: The name of the route.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Route'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Routes get
      x-summary-source: derived
    put:
      operationId: Routes_CreateOrUpdate
      tags:
      - Routes
      description: Creates or updates a route in the specified route table.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: routeTableName
        in: path
        description: The name of the route table.
        required: true
        schema:
          type: string
      - name: routeName
        in: path
        description: The name of the route.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource 'Route' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Route'
        '201':
          description: Resource 'Route' 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/Route'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
        final-state-schema: '#/definitions/Route'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Route'
        description: Parameters supplied to the create or update route operation.
        required: true
      summary: Routes create or update
      x-summary-source: derived
    delete:
      operationId: Routes_Delete
      tags:
      - Routes
      description: Deletes the specified route from a route table.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: routeTableName
        in: path
        description: The name of the route table.
        required: true
        schema:
          type: string
      - name: routeName
        in: path
        description: The name of the route.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource deleted successfully.
        '202':
          description: Resource deletion accepted.
          headers:
            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: '#/components/schemas/CloudError'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Routes delete
      x-summary-source: derived
components:
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
  schemas:
    SubResourceModel:
      type: object
      description: Reference to another subresource.
      properties:
        name:
          type: string
          description: Name of the resource.
        type:
          type: string
          description: Resource type.
          readOnly: true
      allOf:
      - $ref: '#/components/schemas/SubResource'
      x-ms-azure-resource: true
    RoutePropertiesFormat:
      type: object
      description: Route resource.
      properties:
        addressPrefix:
          type: string
          description: The destination CIDR to which the route applies.
        nextHopType:
          $ref: '#/components/schemas/RouteNextHopType'
          description: The type of Azure hop the packet should be sent to.
        nextHopIpAddress:
          type: string
          description: The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
        nextHop:
          $ref: '#/components/schemas/RouteNextHopEcmp'
          description: The next hop definition containing ECMP next hop IP addresses. Only allowed when nextHopType is VirtualApplianceEcmp.
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The provisioning state of the route resource.
          readOnly: true
        hasBgpOverride:
          type: boolean
          description: A value indicating whether this route overrides overlapping BGP routes regardless of LPM.
          readOnly: true
      required:
      - nextHopType
    Route:
      type: object
      description: Route resource.
      properties:
        properties:
          $ref: '#/components/schemas/RoutePropertiesFormat'
          description: Properties of the route.
          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: '#/components/schemas/SubResourceModel'
    RouteListResult:
      type: object
      description: The response of a Route list operation.
      properties:
        value:
          type: array
          description: The Route items on this page
          items:
            $ref: '#/components/schemas/Route'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    RouteNextHopType:
      type: string
      description: The type of Azure hop the packet should be sent to.
      enum:
      - VirtualNetworkGateway
      - VnetLocal
      - Internet
      - VirtualAppliance
      - VirtualApplianceEcmp
      - None
      x-ms-enum:
        name: RouteNextHopType
        modelAsString: true
        values:
        - name: VirtualNetworkGateway
          value: VirtualNetworkGateway
          description: VirtualNetworkGateway
        - name: VnetLocal
          value: VnetLocal
          description: VnetLocal
        - name: Internet
          value: Internet
          description: Internet
        - name: VirtualAppliance
          value: VirtualAppliance
          description: VirtualAppliance
        - name: VirtualApplianceEcmp
          value: VirtualApplianceEcmp
          description: Routes traffic to virtual appliances using Equal-Cost Multi-Path (ECMP) routing with multiple next hop IP addresses.
        - name: None
          value: None
          description: No next hop type.
    SubResource:
      type: object
      description: Reference to another subresource.
      properties:
        id:
          type: string
          description: Resource ID.
    ProvisioningState:
      type: string
      description: Provisioning states of a resource.
      enum:
      - Failed
      - Succeeded
      - Canceled
      - Creating
      - Updating
      - Deleting
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
        values:
        - name: Failed
          value: Failed
          description: Failed
        - name: Succeeded
          value: Succeeded
          description: Succeeded
        - name: Canceled
          value: Canceled
          description: Canceled
        - name: Creating
          value: Creating
          description: Creating
        - name: Updating
          value: Updating
          description: Updating
        - name: Deleting
          value: Deleting
          description: Deleting
    RouteNextHopEcmp:
      type: object
      description: The next hop definition for ECMP routes containing multiple next hop IP addresses.
      properties:
        nextHopIpAddresses:
          type: array
          description: List of next hop IP addresses for ECMP routing. Must contain between 2 and 64 IP addresses.
          minItems: 2
          maxItems: 64
          items:
            type: string
      required:
      - nextHopIpAddresses
    CloudError:
      type: object
      description: An error response from the service.
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: Cloud error body.
      x-ms-external: true
  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.