Skip to content

Revoke Delegation

Address: /openApi/contract/cancel

Receive Parameters

Required

Submission Method: post

Submission Parameters

Parameter Name Required Type Example Description
order_ids No string 1,2,3 Order numbers
symbol No string BTC-USDT Trading pair

Return Parameters

Parameter Name required Type Example Description
errno Yes int 0 Return status code
errmsg Yes string Success Return message
result Yes object See example Return data

result Parameters

Parameter Required Type Example Description
success Yes array ["order_id1","order_id2"] Array of successful order IDs
failed Yes array ["order_id1","order_id2"] Array of failed order IDs

Response Example

JSON
{
    "errno": 0,
    "errmsg": "success",
    "result": {
        "success": [
            "order_id1",
            "order_id2"
        ],
        "failed": [
            "order_id1",
            "order_id2"
        ]
    }
}