Delete Strategy
Permanently remove a strategy.
Endpoint
DELETE /strategies/{strategy_id}
Authentication: Public.
Path parameters
| Name | Type | Required | Notes |
|---|---|---|---|
strategy_id | integer | Yes | DB-assigned id. |
Response — 200 OK
{
"message": "删除成功",
"id": 1
}
Errors
| HTTP | Backend detail | English equivalent |
|---|---|---|
404 | 策略不存在 | Strategy not found |
Example
curl -X DELETE "https://api.pipai.org/strategies/1"