Skip to main content
DELETE
/
api
/
v1
/
strategies
/
{id}
Delete strategy
curl --request DELETE \
  --url https://mcp.echozero.app/api/v1/strategies/{id} \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "data": {
    "botId": "<string>",
    "botName": "<string>",
    "message": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Headers

x-signature
string

HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Optional -- when omitted, HMAC verification is skipped.

x-timestamp
string

Request timestamp in epoch milliseconds. Required when x-signature is provided. Rejected if drift exceeds 5 minutes.

Path Parameters

id
string
required

Query Parameters

closeCurrentTrades
boolean

Close open trades before delete (mirrors GraphQL DeleteBotInput)

Response

Delete result.

success
boolean
required
Example:

true

data
object
required

Endpoint-specific payload