Skip to content

DeleteSlackWorkspaceAuthorization

Source: src/AWS/Chatbot/DeleteSlackWorkspaceAuthorization.ts

Runtime binding for chatbot:DeleteSlackWorkspaceAuthorization.

Revokes AWS Chatbot’s authorization for an entire Slack workspace — the drastic end of offboarding automation. Existing channel configurations for the workspace stop working until it is re-authorized via the console OAuth flow. Provide the implementation with Effect.provide(AWS.Chatbot.DeleteSlackWorkspaceAuthorizationHttp).

const deleteSlackWorkspaceAuthorization =
yield* AWS.Chatbot.DeleteSlackWorkspaceAuthorization();
yield* deleteSlackWorkspaceAuthorization({ SlackTeamId: "T012ABCDEFG" });