From 61ae481a035612ba1699f3e7d70c0069b1823ccc Mon Sep 17 00:00:00 2001 From: James Grugett Date: Wed, 10 Aug 2022 18:42:44 -0500 Subject: [PATCH] Document cancel bet --- docs/docs/api.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/docs/api.md b/docs/docs/api.md index 48564cb3..e4936418 100644 --- a/docs/docs/api.md +++ b/docs/docs/api.md @@ -528,6 +528,10 @@ $ curl https://manifold.markets/api/v0/bet -X POST -H 'Content-Type: application "contractId":"{...}"}' ``` +### `POST /v0/bet/cancel/[id]` + +Cancel the limit order of a bet with the specified id. If the bet was unfilled, it will be cancelled so that no other bets will match with it. This is action irreversable. + ### `POST /v0/market` Creates a new market on behalf of the authorized user.