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

# Delete a market

`DELETE /api/market/{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/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/market/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a market and detaches all associated territories

## Path parameters

- `id` integer, required

## Response `204`

Market deleted successfully

## Other responses

- `401`: Unauthenticated
- `403`: Forbidden
- `404`: Market 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)
