GET List BotsGET Get BotPOST Create BotDEL Delete BotPOST Start BotPOST Stop BotPOST Restart BotPATCH Update Startup
API Reference
Stop Bot
Para o container da aplicação.
POST
https://astrix.website/api/bot/servers/:id/stopRequest
curl -X POST https://astrix.website/api/bot/servers/SERVER_ID/stop \
-H "Authorization: Bearer $BOT_SHARED_SECRET" \
-H "Content-Type: application/json" \
-d '{ "discordUserId": "YOUR_DISCORD_ID" }'Response
{ "ok": true, "status": "STOPPED" }