I developed a bot, so during installation, I created some teams using the API (when the installation webhook is received, I call the team creation API using bot credentials). The admin of the team is the bot. However, when uninstallation happens, I need to delete these teams as well. How can I do that? The uninstallation hook is received after that has happened, so at that time, we can't trigger the delete team API using bot credentials, since the uninstallation already occurred. Is there any API to make someone else an admin, or any way we can trigger it before the uninstallation hook? What is the solution?
© 1999-2024 RingCentral, Inc. All rights reserved.
Privacy Notice