Bots Business Api
  1. Bots
Bots Business Api
  • Authentication
    • Login Account
    • Register New User
    • Get telegram login url
    • Telegram login
    • Reset Password
  • User account
    • Get user details
    • Update email
    • Update password
    • Get linked telegram accounts
    • Get telegram link url
    • Get users session token
    • Reset api key
    • Log out all device
  • Bots
    • Create Bot
      POST
    • Get Bots
      GET
    • Edit Bot
      PUT
    • Launch or Stop Bot
      POST
    • Start CSV import
      POST
    • CSV import task status
      GET
    • Delete Bot
      DELETE
    • Copy Bot
      GET
    • Git export
      POST
    • Git import
      POST
    • Get installed libraries
      GET
    • Install Lib
      POST
    • Uninstall lib
      DELETE
    • Get error log
      GET
    • Clear error logs
      DELETE
  • Commands
    • Folders
      • Create a folder
      • Delet a folder
      • Get all folders
    • Get Commands
    • Get Command Details
    • Create Command
    • Edit Command
    • Delete Command
  • 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 panels
    • Save panel value
  1. Bots

Clear error logs

Developing
DELETE
/bots/{id}/error_logs
Use this endpoint to permanently clear all error logs from your bot's history. This action cannot be undone.

Request

Path Params

Query Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE '/bots/123/error_logs?api_key=UKDZu-c68cubrIbniuE2P_nWj0p5r4IHARNrAV-I'

Responses

🟢200Success
application/json
You will get an empty array, indicates all errors have been deleted
Body

Example
[]
Previous
Get error log
Next
Create a folder
Built with