POST /v1/operations/:id/cancel — Cancel a pending operation
POST https://api.rebelfi.io/v1/operations/:id/cancel| Parameter | Type | Required | Description |
|---|---|---|---|
id | number | Yes | Operation ID to cancel |
| Code | Description |
|---|---|
OPERATION_NOT_FOUND | Operation ID doesn’t exist |
INVALID_OPERATION_STATUS | Operation has already been submitted, confirmed, or cancelled |