curl -X DELETE https://api.phanomcloud.online/bots/3fa85f64-5717-4562-b3fc-2c963f66afa6 \
-H "Authorization: Bearer sess_..."
{
"success": true,
"message": "Bot \"my-discord-bot\" deleted"
}
{
"success": false,
"error": "Bot not found"
}
Bots
Delete Bot
Permanently deletes a bot, stops its container, and frees its memory allocation.
DELETE
/
bots
/
{id}
curl -X DELETE https://api.phanomcloud.online/bots/3fa85f64-5717-4562-b3fc-2c963f66afa6 \
-H "Authorization: Bearer sess_..."
{
"success": true,
"message": "Bot \"my-discord-bot\" deleted"
}
{
"success": false,
"error": "Bot not found"
}
Path Parameters
string
required
UUID of the bot to delete.
This action is irreversible. The bot, all its files, and all its backups will be permanently removed.
Process
- Stops the container if it is running
- Removes the Docker container
- Frees the memory allocation from your plan
- Deletes the bot record from the database
curl -X DELETE https://api.phanomcloud.online/bots/3fa85f64-5717-4562-b3fc-2c963f66afa6 \
-H "Authorization: Bearer sess_..."
{
"success": true,
"message": "Bot \"my-discord-bot\" deleted"
}
{
"success": false,
"error": "Bot not found"
}

