Active/Inactive Bot

This endpoint updates the status of the bot to active or inactive

POST https://api.aitrade.com/api/update_bot_status

Request Body

Name
Type
Required
Description

id

integer

The id of the bot to active/inactive

status

string

active or inactive

Responses:

{
    "code": 200,
    "message": "Success",
    "bot": {
        "id": 12516,
        "user_id": 1,
        "name": "1365 SOLAR-IDR 5m 1102",
        "checked_at": "2024-07-01 09:18:00",
        "status": "active",
        ...
    }
}

Last updated