Skip to content

DeleteMembers

Source: src/AWS/Detective/DeleteMembers.ts

Runtime binding for detective:DeleteMembers.

Removes member accounts from the behavior graph — the off-boarding counterpart to CreateMembers when an account leaves the fleet. The graph ARN is injected from the bound Graph. Provide the implementation with Effect.provide(AWS.Detective.DeleteMembersHttp).

// init
const deleteMembers = yield* AWS.Detective.DeleteMembers(graph);
// runtime
yield* deleteMembers({ AccountIds: ["111122223333"] });