Skip to main content

Delete Strategy

Permanently remove a strategy.

Endpoint​

DELETE /strategies/{strategy_id}

Authentication: Public.

Path parameters​

NameTypeRequiredNotes
strategy_idintegerYesDB-assigned id.

Response — 200 OK​

{
"message": "删除成功",
"id": 1
}

Errors​

HTTPBackend detailEnglish equivalent
404策略不存在Strategy not found

Example​

curl -X DELETE "https://api-dev.pipai.org/strategies/1"