Commands › Appearance & animation
clear_animations
Stop every animation the bot is playing
Usage
curl -X POST "https://api.lifebots.cloud/api/bot.html" \
-H "Content-Type: application/json" \
-d '{
"action": "clear_animations",
"apikey": "YOUR_API_KEY",
"botname": "Joe Resident",
"secret": "bot-secret-123",
"dataType": "json"
}' Every request also needs apikey, botname and secret — see Authentication.
Parameters
None besides authentication.
Example response
{
"result": "OK",
"message": "Cleared all animations"
} With dataType=json. A failure has result: "FAIL" and the reason in resulttext — see Responses & errors.