> ## Documentation Index
> Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a Network Route

> Deletes a route that was added with `POST /network_routes`. Traffic to its CIDR stops going via the next hop at once. Routes that an attachment installs (`origin` `attachment`) leave with the attachment and cannot be deleted here.



## OpenAPI

````yaml /openapi/source/external/netapps/netapps.json delete /network_routes/{id}
openapi: 3.1.0
info:
  version: 2.0.0
  title: Telnyx API
  x-latency-category: responsive
  x-endpoint-cost: light
  description: SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
  license:
    name: MIT
    identifier: MIT
  contact:
    email: support@telnyx.com
servers:
  - url: https://api.telnyx.com/v2
    description: Version 2.0.0 of the Telnyx API
security:
  - bearerAuth: []
tags:
  - name: Networks
    description: Network operations
  - name: Public Internet Gateways
    description: Public Internet Gateway operations
  - name: WireGuard Interfaces
    description: WireGuard Interface operations
  - name: Tunnels
    description: >-
      Tunnels connect a Network to hosts behind a tunnel process within the
      user's network.
  - name: Network Routes
    description: Routes on a Network that send a CIDR to a next hop, such as a tunnel.
  - name: Tailscale Subnet Routers
    description: Tailscale Subnet Router operations
  - name: Virtual Cross Connects
    description: Virtual Cross Connect operations
  - name: Regions
    description: Regions
  - name: Global IPs
    description: Global IPs
paths:
  /network_routes/{id}:
    delete:
      tags:
        - Network Routes
      summary: Delete a Network Route
      description: >-
        Deletes a route that was added with `POST /network_routes`. Traffic to
        its CIDR stops going via the next hop at once. Routes that an attachment
        installs (`origin` `attachment`) leave with the attachment and cannot be
        deleted here.
      operationId: DeleteNetworkRoute
      parameters:
        - name: id
          in: path
          required: true
          description: The id of the route.
          schema:
            type: string
            format: uuid
            example: e8a2c5d0-3f7b-4a19-b6d2-9c1e0f8a7b53
      responses:
        '204':
          description: Deleted.
        '404':
          description: 'Not found: no route with this id exists on the account.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              example:
                errors:
                  - code: '10020'
                    title: Resource not found
                    detail: 'get route: not found'
        '409':
          description: 'Conflict: the route was installed by an attachment.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              example:
                errors:
                  - code: '10021'
                    title: Resource conflict
                    detail: >-
                      network_route b6a10cb9-2d4e-4f61-9a3b-7e5c8d1f0a26 was
                      installed by an attachment (wireguard_interface on network
                      91446ee3-5b1c-4f0e-8d2a-6c7e9b0a1f24); it is read-only and
                      is removed with the attachment
        default:
          $ref: '#/components/responses/GenericErrorResponse'
components:
  schemas:
    Errors:
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/Error'
      type: object
    Error:
      required:
        - code
        - title
      properties:
        code:
          type: string
        title:
          type: string
        detail:
          type: string
        source:
          type: object
          properties:
            pointer:
              description: JSON pointer (RFC6901) to the offending entity.
              type: string
            parameter:
              description: Indicates which query parameter caused the error.
              type: string
        meta:
          type: object
          additionalProperties: true
      type: object
  responses:
    GenericErrorResponse:
      description: Unexpected error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Errors'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````