---
updatedAt: 2026-09-08T20:26:09.000Z
agentTools:
  projectIndex: https://docs.observeinc.com/llms.txt
---

# Delete an ingest route

> **Beta — schema may still change; breaking changes are coordinated with affected customers. Suitable for evaluation, not production reliance.**

Delete an ingest route. The default route for a type cannot be deleted.


# OpenAPI definition

````json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Observe by Snowflake API",
    "description": "# Overview\nWelcome to the Observe API Docs!\n\nThe Observe API is a RESTful API. POST bodies and responses are typically JSON-encoded.\n\n## Authentication\nRequests to the Observe API are authenticated with an API token. The token can be supplied using HTTP Bearer authentication:\n```\n// passing token as bearer token\ncurl -H \"Authorization: Bearer <customerid> <token>\" https://<customerid>.<observe-domain>.com/v1/...\n```\n",
    "version": "1.0.230307"
  },
  "servers": [
    {
      "url": "https://{customerid}.observeinc.com",
      "description": "US west server",
      "variables": {
        "customerid": {
          "default": "OBSERVE_CUSTOMERID",
          "description": "The customer ID for your instance."
        }
      }
    },
    {
      "url": "https://{customerid}.{cluster}.observeinc.com",
      "description": "Specific regional cluster (prod)",
      "variables": {
        "customerid": {
          "default": "OBSERVE_CUSTOMERID",
          "description": "The customer ID for your instance."
        },
        "cluster": {
          "enum": [
            "eu-1",
            "ap-1"
          ],
          "default": "eu-1",
          "description": "For regional clusters, choose one."
        }
      }
    },
    {
      "url": "https://{customerid}.{domain}.com",
      "description": "Specific Observe server",
      "variables": {
        "customerid": {
          "default": "OBSERVE_CUSTOMERID",
          "description": "The customer ID for your instance."
        },
        "domain": {
          "default": "OBSERVE_DOMAIN",
          "description": "The Observe domain for your instance."
        }
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/v1/ingest/routes/{type}/{id}": {
      "delete": {
        "x-badges": [
          {
            "name": "beta",
            "position": "before",
            "color": "#FFCC00"
          }
        ],
        "summary": "Delete an ingest route",
        "description": "> **Beta — schema may still change; breaking changes are coordinated with affected customers. Suitable for evaluation, not production reliance.**\n\nDelete an ingest route. The default route for a type cannot be deleted.\n",
        "operationId": "DeleteIngestRoute",
        "tags": [
          "Ingest Routes"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IngestRoutes-Type"
          },
          {
            "$ref": "#/components/parameters/IngestRoutes-Id"
          }
        ],
        "responses": {
          "204": {
            "description": "Ingest route deleted successfully"
          },
          "400": {
            "$ref": "#/components/responses/ErrorResponse-400"
          },
          "401": {
            "$ref": "#/components/responses/ErrorResponse-401"
          },
          "403": {
            "$ref": "#/components/responses/ErrorResponse-403"
          },
          "404": {
            "$ref": "#/components/responses/ErrorResponse-404"
          },
          "429": {
            "$ref": "#/components/responses/ErrorResponse-429"
          },
          "5XX": {
            "$ref": "#/components/responses/ErrorResponse-5XX"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "Authorization: Bearer <customerid> <apitoken>\n"
      }
    },
    "schemas": {
      "ErrorMessage": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "A stable, machine-readable identifier for the kind of error."
          },
          "message": {
            "type": "string",
            "description": "Error message"
          }
        },
        "required": [
          "type",
          "message"
        ]
      },
      "IngestRoutes-Type": {
        "title": "IngestRoutesType",
        "type": "string",
        "description": "The observation type a route applies to. Each type corresponds to a source dataset schema and to the ingest endpoints that emit compatible data. `any` is the generic schema with `FIELDS` and `EXTRA` columns; the rest are direct-write source datasets. See the `type` path parameter for the endpoint mappings.",
        "enum": [
          "otellogs",
          "otelmetrics",
          "oteltraces",
          "prometheus",
          "k8sentity",
          "any"
        ]
      }
    },
    "parameters": {
      "IngestRoutes-Type": {
        "in": "path",
        "name": "type",
        "schema": {
          "$ref": "#/components/schemas/IngestRoutes-Type"
        },
        "required": true,
        "description": "The type of the ingest route to query. These types correspond to the various source dataset schemas supported by Observe.\n`any` refers to the \"default\" generic source dataset schema with the `FIELDS` and `EXTRA` columns. All of the others\ncorrespond to direct-write source datasets. Each type is also associated with particular ingest HTTP endpoints that emit\ncompatible data for that type. Incoming data on a given endpoint is routable to any dataset of the corresponding type.\n\nThe following [type -> ingest path] mappings are defined:\n\n- `otellogs` <-> `/v1/otel/v1/logs`\n- `otelmetrics` <-> `/v1/otel/v1/metrics`\n- `oteltraces` <-> `/v1/otel/v1/traces`\n- `prometheus` <-> `/v1/prometheus`\n- `k8sentity` <-> `/v1/kubernetes`\n- `any` <-> `/v1/*`\n",
        "example": "otellogs"
      },
      "IngestRoutes-Id": {
        "in": "path",
        "name": "id",
        "schema": {
          "type": "string",
          "format": "int64"
        },
        "required": true,
        "description": "The id of the ingest route",
        "example": "1"
      }
    },
    "responses": {
      "ErrorResponse-400": {
        "description": "Bad request",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      },
      "ErrorResponse-401": {
        "description": "Unauthorized",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      },
      "ErrorResponse-403": {
        "description": "Forbidden",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      },
      "ErrorResponse-404": {
        "description": "Resource not found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      },
      "ErrorResponse-429": {
        "description": "Rate limit reached",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      },
      "ErrorResponse-5XX": {
        "description": "Internal server error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      }
    }
  }
}
````