> 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`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # UnfollowMember # Package: activity # Namespace: MemberFollowers # Method link: https://dev.wix.com/docs/api-reference/crm/members-contacts/members/activity/members-followers/unfollow-member.md ## Permission Scopes: Manage Members: SCOPE.DC-MEMBERS.MANAGE-MEMBERS ## Introduction Sets the current member to unfollow another, specified member. --- ## REST API ### Schema ``` Method: unfollowMember Description: Sets the current member to unfollow another, specified member. URL: https://www.wixapis.com/members/v3/followers/{memberId} Method: DELETE # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present. Required parameters: memberId Method parameters: param name: memberId | type: none | required: true Return type: UnfollowMemberResponse EMPTY-OBJECT {} ``` ### Examples ### Unfollow Member ```curl curl -X DELETE \ 'https://www.wixapis.com/members/v3/followers/6f598508-24f1-438d-bd15-fa976190cdc1' \ -H 'Authorization: ' ``` --- ## JavaScript SDK ### Schema ``` Method: wixClientAdmin.activity.MemberFollowers.unfollowMember(memberId) Description: Sets the current member to unfollow another, specified member. # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present. Required parameters: memberId Method parameters: param name: memberId | type: string | description: GUID of the member to unfollow. | required: true Return type: PROMISE EMPTY-OBJECT {} ``` ### Examples ### unfollowMember ```javascript import { memberFollowers } from '@wix/members'; async function unfollowMember(memberId) { const response = await memberFollowers.unfollowMember(memberId); }; ``` ### unfollowMember (self-hosted) Self-hosted SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md). ```javascript import { createClient } from '@wix/sdk'; import { memberFollowers } from '@wix/members'; // Import the auth strategy for the relevant access type // Import the relevant host module if needed const myWixClient = createClient ({ modules: { memberFollowers }, // Include the auth strategy and host as relevant }); async function unfollowMember(memberId) { const response = await myWixClient.memberFollowers.unfollowMember(memberId); }; ``` ---