Skip to content

DeleteGroupMembership

Source: src/AWS/IdentityCenter/DeleteGroupMembership.ts

Runtime binding for the DeleteGroupMembership operation (IAM action identitystore:DeleteGroupMembership), scoped to one Instance.

Removes a group membership from the bound instance’s identity store by MembershipId. The instance’s IdentityStoreId is injected from the binding. Provide the implementation with Effect.provide(AWS.IdentityCenter.DeleteGroupMembershipHttp).

// init — bind the operation to the Identity Center instance
const deleteGroupMembership = yield* AWS.IdentityCenter.DeleteGroupMembership(instance);
// runtime
yield* deleteGroupMembership({ MembershipId: membershipId });