---
title: "Delete a gateway"
method: DELETE
path: "/gateway/{gateway_topic}"
tags: ["Gateways"]
---

# Delete a gateway

`DELETE /gateway/{gateway_topic}`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/gateway/{gateway_topic}`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-4/docs/gateway/:gateway_topic/delete.ts> (a function with typed inputs; its response is checked against the schema)

Marks a gateway as deleted (poison-pilled).

## Path parameters

- `gateway_topic` string, required

## Response `200`

Gateway marked as deleted successfully

- SuccessResponse
  - `message` string

## Other responses

- `404`: Resource not found

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-4.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-4/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-4/revisions/4915bc3902b1?raw)
