cURL
curl --request DELETE \ --url https://api.elections.kalshi.com/trade-api/v2/portfolio/order_groups/{order_group_id} \ --header 'KALSHI-ACCESS-KEY: <api-key>' \ --header 'KALSHI-ACCESS-SIGNATURE: <api-key>' \ --header 'KALSHI-ACCESS-TIMESTAMP: <api-key>'
{}
Deletes an order group and cancels all orders within it. This permanently removes the group.
Your API key ID
RSA-PSS signature of the request
Request timestamp in milliseconds
Order group ID
Order group deleted successfully
An empty response body