Copier Stop
The /user/copier/stop endpoint allows an authenticated user to manually stop the bot.
This endpoint could take up to 15 seconds due to closing the copier's positions.
Method
POST /user/copier/stop
Request Body
{
"id": "0123198321"
}
Fields
- id (string, required): ID of the copier to stop.
Response
{
"status": 200,
"data": {
"success": true
}
}
Errors
400 Bad Request: Invalid parameters (e.g. missing required fields, non-numeric thresholds, negative values).401 Unauthorized: User is not the owner of the copier.500 Internal Server Error: Failed to update the copier (e.g. internal or NATS error).