Evolution API icon

Evolution API

Interact with Evolution API

Actions114

OpenAI → Delete Bot

AI-generated

Overview

This node operation deletes a bot instance from the OpenAI API by specifying the instance name and the bot ID. It is useful for managing and cleaning up bot instances that are no longer needed, ensuring efficient resource usage and organization within the OpenAI environment.

Use Case Examples

  1. Deleting a bot instance by providing its unique bot ID and instance name to remove it from the OpenAI system.
  2. Automating bot lifecycle management by integrating this node in workflows to delete bots after certain conditions are met.

Properties

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

Output

JSON

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

Dependencies

  • Requires authentication credentials for the OpenAI API to authorize the deletion request.

Troubleshooting

  • Ensure that the provided Instance Name and Bot ID are correct and correspond to existing resources in the OpenAI environment.
  • Check that the API credentials have sufficient permissions to delete bots.
  • Common error messages may include 'Bot not found' if the Bot ID does not exist, or 'Unauthorized' if the credentials lack proper access rights. Verify and update credentials as needed.

Discussion