Skip to content

DisassociateMembership

Source: src/AWS/Detective/DisassociateMembership.ts

Runtime binding for detective:DisassociateMembership.

Removes this account from a behavior graph it previously accepted an invitation to — the member-side exit, mirroring the admin’s DeleteMembers. Provide the implementation with Effect.provide(AWS.Detective.DisassociateMembershipHttp).

// init — account-level binding, no resource argument
const disassociateMembership = yield* AWS.Detective.DisassociateMembership();
// runtime
yield* disassociateMembership({ GraphArn: adminGraphArn });