---
title: "Delete mapping"
method: DELETE
path: "/api/mappings/{id}"
tags: ["Mappings"]
---

# Delete mapping

`DELETE /api/mappings/{id}`

## Request

- Base URL: `https://dregs.com`
- URL: `https://dregs.com/api/mappings/{id}`
- Auth: HTTP bearer

Delete a mapping. Requires the admin role. Deleting a customer mapping makes that source fall back to the global default.

## Path parameters

- `id` integer, required

## Query parameters

- `scope` 'global' | 'customer', required

## Response `204`

Mapping deleted

## Other responses

- `404`: Mapping not found

---

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