# Bulk Cancel **POST /auth/cancel/bulk** Cancel orders in bulk. This endpoint is recommended when you need to cancel more than 5 orders at once. By using this endpoint you will only consume a single rate limit request and not 5. It will also be much faster than cancelling the orders individually. Requires a signed payload in HMAC-SHA256 form to be appended to the x-signature header. The signed payload must be base64-encoded. Javascript example: ``` const formurlencoded = require('form-urlencoded').default; const crypto = require("crypto-js"); const fetch = require("node-fetch"); const API_KEY = ""; const SECRET_KEY = ""; (async function() { const payload = {'ids': ['392392320eoweqwie3', '482392320eoweqwii5']}; const payload_url_encoded = formurlencoded(payload); const HMAC = crypto.HmacSHA256(payload_url_encoded, SECRET_KEY).toString(crypto.enc.Base64); const submitted = await fetch('https://api.testnet.everstrike.io/auth/cancel/bulk', {method: 'POST', body: payload_url_encoded, headers: {'content-type': 'application/x-www-form-urlencoded', 'x-api-key': API_KEY, 'x-signature': HMAC}}); const response = await submitted.json(); console.log(response); })(); ``` ## Servers - https://api.testnet.everstrike.io: https://api.testnet.everstrike.io () ## Authentication methods - Api key - Hmac signature ## Parameters ## Body parameters Content-type: application/x-www-form-urlencoded - **ids** (array[string]) Id's of the orders to cancel (the id is returned upon submitting the order). If left empty or undefined, all active orders will be cancelled. You can submit up to 100 unique id's per request. ## Responses ### 200: OK #### Body Parameters: application/json (object) - **code** (integer) Response code - **msg** (string) Diagnostic message - **result** (array[object]) ### 503: Error #### Body Parameters: application/json (object) - **code** (integer) - **msg** (string) - **result** (object) [Powered by Bump.sh](https://bump.sh)