---
title: "Delete a market grouping"
method: DELETE
path: "/api/market/grouping/{id}"
tags: ["Market Grouping"]
---

# Delete a market grouping

`DELETE /api/market/grouping/{id}`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/market/grouping/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/market/grouping/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes an editable market grouping and all associated markets

## Path parameters

- `id` integer, required

## Response `204`

Market grouping deleted successfully

## Other responses

- `400`: Market grouping is not editable
- `401`: Unauthenticated
- `404`: Market grouping not found

---

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