---
title: "Cancel all unmatched plays related to a market"
method: POST
path: "/mm/cancel_wagers_by_market"
tags: ["play"]
---

# Cancel all unmatched plays related to a market

`POST /mm/cancel_wagers_by_market`

Cancel all unmatched plays related to a market

## Request body

- WagerCancelWagersByMarketRequest
  - `event_id` integer
  - `line_id` string
  - `market_id` integer

## Response `200`

OK

- MarketMakerCancelWagersByMarketResponse
  - `data` WagerCancelWagersByMarketResponse
    - `success` boolean

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Your requested data is not found or play is cancelled
- `500` — Internal server error

---

[API](https://skmtc.net/prophetx/apis/external-market-maker-api.md) · [All operations](https://skmtc.net/prophetx/apis/external-market-maker-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prophetx/external-market-maker-api/revisions/cf6d43de1db2/schema)
