DeleteRobot
Deletes a robot of the account; a running robot must be stopped first, and deletion cannot be undone.
Examples
Delete the stopped robot 123 together with its log data on the docker.
python
# api() is the function in the Python example on the signature authentication page
r = api('DeleteRobot', robotId=123, removeLog=True)
print(r['data']['result']) # output: 0 (deleted)Returns
| Type | Description |
number |
|
Arguments
| Name | Type | Required | Description |
robotId | number | Yes | Robot ID; see |
removeLog | bool | No | Whether to delete the robot's log data on the docker as well. Defaults to |