Evolution API icon

Evolution API

Interact with Evolution API

Actions114

EvoAI → Delete Bot

AI-generated

Overview

The EvoAI Delete Bot operation allows users to delete a specific bot instance by providing the instance name and the bot ID. This operation is useful for managing and cleaning up bot instances within the Evolution API platform, especially when a bot is no longer needed or requires removal for maintenance or organizational purposes.

Use Case Examples

  1. Deleting a bot instance by specifying its instance name and bot ID to remove it from the system.
  2. Automating bot lifecycle management by programmatically deleting bots that are obsolete or inactive.

Properties

Name Meaning
Instance Name The name of the instance where the bot resides, used to identify the specific environment or context for the bot deletion.
Bot ID The unique identifier of the bot to be deleted, required to specify which bot should be removed.

Output

JSON

  • success - Indicates whether the bot deletion was successful.
  • message - Provides additional information or confirmation about the deletion operation.

Dependencies

  • Requires an API key credential for authentication with the Evolution API.

Troubleshooting

  • Ensure that the provided instance name and bot ID are correct and exist in the system to avoid errors.
  • Check API authentication credentials if the operation fails due to authorization issues.
  • Handle errors gracefully when the bot ID does not exist or the bot is already deleted, as the API might return specific error messages.

Links

Discussion