---
title: "Delete gateway route"
method: DELETE
path: "/pipeline/gateway-route/{gateway_route_id}"
tags: ["Shared Sources"]
---

# Delete gateway route

`DELETE /pipeline/gateway-route/{gateway_route_id}`

## Request

- Base URL: `https://api.mezmo.com/v3`
- URL: `https://api.mezmo.com/v3/pipeline/gateway-route/{gateway_route_id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/mezmo/apis/pipeline-api/docs/pipeline/gateway-route/:gateway_route_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete an unused gateway route. If the route is used by any active pipeline, an error will be returned.

## Path parameters

- `gateway_route_id` string, required

## Response `200`

Default Response

---

[API](https://skmtc.dev/mezmo/apis/pipeline-api.md) - [All operations](https://skmtc.dev/mezmo/apis/pipeline-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mezmo/apis/pipeline-api/revisions/fb2535545d90?raw)
