POST
/
cancelAllOrdersAfter
curl --request POST \
  --url https://gateway.finhub.cloud/crypto/cancelAllOrdersAfter \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "nonce": "-45794462",
  "timeout": 75237636
}'
{
  "error": [],
  "result": {
    "currentTime": "2021-03-24T17:41:56Z",
    "triggerTime": "2021-03-24T17:42:56Z"
  }
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Tenant/Owner id

Content-Type
string

Body

application/json
nonce
string

(Required)

timeout
integer

(Required) Duration (in seconds) to set/extend the timer by

Response

200 - application/json

The response is of type object.