> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Sample Flows

## Article: Sample Flows

## Article Link: https://dev.wix.com/docs/api-reference/crm/members-contacts/members/members-v2/member-to-member-block-v1/sample-flows.md

## Article Content:

# Member-to-Member Blocks: Sample Flows

This article presents possible use cases and corresponding sample flows that you can support. It provides a useful starting point as you plan your implementation.

## Let members manage their blocked list

Members who block others may later want to review who they blocked and undo a block. For example, a community site can offer a "Blocked members" page in the member's account settings.

To let members manage their blocked list:

1. Call [List Current Member Blocking](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/members-v2/member-to-member-block-v1/list-current-member-blocking.md) with the current member's identity, and save the returned `blockedMemberIds`.
1. Call [Query Members](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/member-management/members/query-members.md) with a Wix user or app identity, filtering by the saved IDs, to retrieve each blocked member's name and profile photo for display.
1. When the member selects a blocked member to unblock, call [Unblock Member](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/members-v2/member-to-member-block-v1/unblock-member.md) with the current member's identity, passing that member's ID as `memberId`.

## Hide content from blocked members in a custom feed

If your app shows member-generated content, such as posts or comments, it should respect blocks the same way the Members Area does. Neither member in a block should see content from the other.

To hide content from blocked members in a custom feed:

1. Before building the feed for a member, call [List Member Blocks](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/members-v2/member-to-member-block-v1/list-member-blocks.md), passing that member's ID as `memberId`. Use `cursorPaging` to retrieve all pages.
1. Save the `memberId` of every returned block, regardless of `blockDirection`.
1. Remove content created by any of the saved members from the feed before you display it.