---
title: "Cancel all unmatched plays related to an event"
method: POST
path: "/mm/cancel_wagers_by_event"
tags: ["play"]
---

# Cancel all unmatched plays related to an event

`POST /mm/cancel_wagers_by_event`

Cancel all unmatched plays related to an event

## Request body

- WagerCancelWagersByEventRequest
  - `event_id` integer

## Response `200`

OK

- MarketMakerCancelWagersByEventResponse
  - `data` WagerCancelWagersByEventResponse
    - `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/versions/cf6d43de1db2/schema)
