Integration Delete
Integration
Integration Delete
Endpoint to delete a specific GPT integration. Only unpublished integrations can be deleted. Restricted to root-level users.
Args: gpt_name (str): The name of the integration (typically a GPT name).
Returns: dict: A message indicating successful deletion of the integration.
Raises:
HTTPException 404: If the integration with the specified name does not exist.
HTTPException 400: If the integration is in a PUBLISHED state and cannot be deleted.
HTTPException 500: If an error occurs during the deletion process.
