Bots.Business API v2
  1. Folders
Bots.Business API v2
  • Bots.Business API v2
    • BB Api docs
    • Authentication
      • Sign in
      • Get Telegram login URL
      • Sign up
      • Telegram login
      • Reset Password
    • User account
      • Update password
      • Get user details
      • Update email
      • Get linked telegram accounts
      • Get telegram link url
      • Get users session token
      • Reset api key
      • Log out all device
      • Get iteration usage
      • Turn ON or OFF ads
      • Get payment plan
    • Bots
      • Create Bot
      • Get Bots
      • Get single bot
      • Edit Bot
      • Delete Bot
      • Start or Stop bot
      • Start CSV import
      • CSV import task status
      • Copy Bot
      • Git export
      • Git import
      • Get installed libraries
      • Install Lib
      • Uninstall lib
      • Get error log
      • Clear error logs
    • Commands
      • Folders
        • Create a folder
          POST
        • Get all folders
          GET
        • Delete a folder
          DELETE
      • Get Commands
        GET
      • Create Command
        POST
      • Get Command Details
        GET
      • Edit Command
        PUT
      • Delete Command
        DELETE
    • Broadcast
      • Get broadcast tasks
      • Delete Broadcast task
      • Pause broadcast task
      • Resume broadcast task
    • Chats
      • Get chats
      • Block chat
      • Unblock chat
    • Properties
      • Get properties
      • Delete property
    • Libraries
      • Get libraries
    • Admin Panel
      • Get admin panels
      • Update admin panel values
    • Demo Store
      • Get store bots
      • Install demo bot
    • Get cloud plans
      GET
    • Schemas
      • Command Schema
      • User Public
      • Create & Edit Bot
      • Bot
  1. Folders

Delete a folder

DELETE
https://api.bots.business/v2/bots/{id}/commands_folders/{folder_id}
Last modified:2025-11-01 13:14:09
Use tis endpoint to delete an existing folder

Request

Path Params

Query Params

Responses

🟢200Success
application/json
Body

🟠401Unauthorized
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://api.bots.business/v2/bots/123/commands_folders/1234?api_key=UKDZu-c68cubrIbniuE2P_nWj0p5r4IHARNrAV-I'
Response Response Example
200 - Success
{
    "id": 7660641,
    "title": "Test folder",
    "bot_id": 2792064,
    "created_at": "2025-10-26T10:22:17.283Z",
    "updated_at": "2025-10-26T10:22:17.283Z"
}
Modified at 2025-11-01 13:14:09
Previous
Get all folders
Next
Get Commands
Built with