---
spec: trading.yaml
operationId: cancelOptionOrder
---

Cancel an open option order for the specified account.

## Response Examples

```json 200
{
  "s": "ok"
}
```

```json error
{
  "s": "invalid_grant",
  "errmsg": "Invalid grant, the account may not exist or may not be opened yet."
}
```
