---
title: "Cancel all strategy orders by given token pair. For internal usage only."
method: DELETE
path: "/v1/strategies/cancel/by-tokens/{first}/{second}"
tags: ["Strategies"]
---

# Cancel all strategy orders by given token pair. For internal usage only.

`DELETE /v1/strategies/cancel/by-tokens/{first}/{second}`

## Request

- Base URL: `https://backend.swap.coffee`
- URL: `https://backend.swap.coffee/v1/strategies/cancel/by-tokens/{first}/{second}`
- Auth: one of:
  - none
  - API key in header `X-Api-Key`
- TypeScript: <https://skmtc.dev/swap/apis/swap-coffee-api/docs/v1/strategies/cancel/by-tokens/:first/:second/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `first` string, required
- `second` string, required

## Query parameters

- `type` 'limit' | 'dca' | 'vca'

## Response `200`

ok

## Other responses

- `default`: Some error during request processing

---

[API](https://skmtc.dev/swap/apis/swap-coffee-api.md) - [All operations](https://skmtc.dev/swap/apis/swap-coffee-api/llms.txt) - [OpenAPI document](https://skmtc.dev/swap/apis/swap-coffee-api/revisions/88f42fef59b7?raw)
