cURL
curl --request POST \ --url https://api.orderly.org/v1/client/maintenance_config \ --header 'Content-Type: application/json' \ --header 'orderly-account-id: <orderly-account-id>' \ --header 'orderly-key: <orderly-key>' \ --header 'orderly-signature: <orderly-signature>' \ --header 'orderly-timestamp: <orderly-timestamp>' \ --data '{ "maintenance_cancel_order_flag": true }'
{ "success": true, "timestamp": 1702989203989, "data": { "success_alter": "Success! Your change has been saved!" } }
Limit: 10 requests per 60 seconds
POST /v1/client/maintenance_config
Set the user config for whether the system should automatically cancel the user’s pending orders during maintenance.
OK
The response is of type object.
object