---
search:
  tags:
    - Markets V2
    - DELETE
seo:
  description: >-
    Bulk-deletes markets by id. Deleted ids are returned in… Reference for the
    DELETE /api/v2/{team_slug}/{app_slug}/markets endpoint in the Management API
    v2.
sidebar:
  label: Delete markets
  badge: DELETE
title: Delete markets
type: openapi-operation
---
Bulk-deletes markets by id. Deleted ids are returned in data; per-item failures in errors.

`DELETE /api/v2/{team_slug}/{app_slug}/markets`

**Request body** (`application/json`, required)

- `markets` (DeleteMarketItem[], required)

Request body example:

```json
{
  "markets": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    }
  ]
}
```

**Responses**

- `200` — OK (partial success possible)
- `400` — Request-level failure
- `401` — Request-level failure
- `403` — Request-level failure
- `500` — Request-level failure

Response example, 200:

```json
{
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    }
  ],
  "errors": [
    {
      "slug": "string",
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "message": "string"
    }
  ]
}
```
