DELETE
/
api
/
v1
/
order
/
{orderId}
curl --request DELETE \
  --url https://mainnetapiserverwriter.logx.network/api/v1/order/{orderId} \
  --header 'Broker-Id: <broker-id>' \
  --header 'Logx-Key: <logx-key>' \
  --header 'Logx-Secret: <logx-secret>'
{
  "body": null,
  "message": "Order cancelled successfully",
  "status": 200
}

Headers

Logx-Key
string
required

API key for authenticating requests to the LogX Network.

Logx-Secret
string
required

API secret for securing requests to the LogX Network.

Broker-Id
string
required

Unique identifier for the broker.

Path Parameters

orderId
string
required

The unique identifier of the order to be canceled.

Response

200 - application/json
The order was canceled successfully.
body
string | null

The response body, which is null upon successful cancellation.

message
string

Status message of the order cancellation operation.

status
integer

HTTP status code of the response.