Skip to content

DeleteSlackUserIdentity

Source: src/AWS/Chatbot/DeleteSlackUserIdentity.ts

Runtime binding for chatbot:DeleteSlackUserIdentity.

Unlinks a Slack user identity from its AWS user identity — the write half of identity offboarding automation (e.g. revoke a departing employee’s chat identity from a Lambda triggered by your HR system). Provide the implementation with Effect.provide(AWS.Chatbot.DeleteSlackUserIdentityHttp).

const deleteSlackUserIdentity =
yield* AWS.Chatbot.DeleteSlackUserIdentity();
yield* deleteSlackUserIdentity({
ChatConfigurationArn: configurationArn,
SlackTeamId: "T012ABCDEFG",
SlackUserId: "U012AB3CD",
});