cancel

Cancell own order by id. (Authorization is required).
URI: https://www.deribit.com/api/v1/private/cancel
URI Path: /api/v1/private/cancel
Parameters: shown as JQuery data for POST
{
    "orderId": "5"
}
Method: POST
Result is JSON object:
{
    "success": true,  // true or false
    "message": "",    // empty or text message, e.g. error message
    "order": { // state of the order
            "orderId": 5258039,         // order Id       
            "instrument": "BTC-26MAY17",  // name of the instrument  
            "direction": "sell",          // order direction "buy" or "sell"
            "price": 1860,               // requested price
            "label": "",                 // label set by the owner, up to 32 chars
            "quantity": 10,              // requested quantity
            "filledQuantity": 3,         // filled quantity
            "avgPrice": 1860,            // average fill price of the order  
            "commission": -0.000001613,  // in BTC units
            "created": 1494491899308,    // creation timestamp
            "lastUpdate": 1494491988754, // timestamp of the last order state change
                                         // (before this cancelorder)
            "state": "cancelled",        // order state
            "postOnly": false            // true for post-only orders only
        },
    "result": null    
}
edit
cancelall