order-groups
Delete Order Group
Changed onDeletes an order group and cancels all orders within it. This permanently removes the group.
delete/portfolio/order_groups/{order_group_id}
Request
- Base URLhttps://external-api.kalshi.com/trade-api/v2
- URLhttps://external-api.kalshi.com/trade-api/v2/portfolio/order_groups/{order_group_id}
- AuthAPI key in header KALSHI-ACCESS-KEY and API key in header KALSHI-ACCESS-SIGNATURE and API key in header KALSHI-ACCESS-TIMESTAMP
Path parameters
order_group_idstring required
Order group ID
Query parameters
subaccountinteger
Subaccount number (0 for primary, 1-63 for subaccounts). Defaults to 0. Subaccount-restricted API keys default to their locked subaccount and must omit this parameter or pass their locked subaccount.
exchange_indexinteger
Identifier for an exchange shard.
Identifier for an exchange shard. Defaults to 0.
Response
Order group deleted successfully
Empty Response required
An empty response body
Changes
- warning
for the
queryrequest parametersubaccount, the min was set to0.00
- warning
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
- warning