Skip to main content
DELETE
Delete
Deleting a bot removes the bot and its webhook configuration. The underlying user is not deleted — the UID stays in your app as an ordinary User, and its messages remain. To remove the user as well, call the Delete User API afterwards. A later Get Bot call for the same UID returns ERR_BOT_NOT_FOUND. To stop a bot temporarily without deleting it, set enabled to false with the Update Bot API. For the complete error reference, see Error Guide.

Authorizations

apikey
string
header
required

API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).

Path Parameters

uid
string
required

An UID of a bot.

Response

200 - application/json

Deleted Bot

data
object