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

# Delete a mapping

`DELETE /gateway/{gateway_topic}/mapping/details`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/gateway/{gateway_topic}/mapping/details`
- 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/mapping/details/delete.ts> (a function with typed inputs; its response is checked against the schema)

Marks a gateway mapping as deleted (poison-pilled).

## Path parameters

- `gateway_topic` string, required

## Query parameters

- `method` 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'OPTIONS' | 'HEAD', required
- `path` string, required

## Response `200`

Mapping 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)
