POST

Leave Community


Removes the currently logged-in member from the site community and sets their profile to private.

When a member's profile is private, they do not have access to the site's Members Area features — such as chat, forum, and followers — and their profile is hidden from other members and site visitors.

Notes:

  • If a member leaves the site's community, their content (such as forum posts and blog comments) remain publicly visible.
  • This method requires visitor or member authentication.
Endpoint
POST
https://www.wixapis.com/members/v1/members/leave-community

Request
This endpoint does not take any parameters.
Response Object
memberMember

The updated member.

Leave Community Example 1
Request
cURL
curl -X POST \ https://www.wixapis.com/members/v1/members/leave-community \ -H 'Authorization: <AUTH>'
Response
JSON
{ "member": { "id": "e62e3011-55cf-4de3-a497-e097b52d86b7", "loginEmail": "john@example.com", "status": "APPROVED", "contactId": "0fac596f-ff7c-4d2b-b826-63c60ee36ee8", "contact": { "contactId": "0fac596f-ff7c-4d2b-b826-63c60ee36ee8", "firstName": "John", "lastName": "Doe", "phones": ["2075556300", "2075555217"], "emails": ["john@example.com"], "addresses": [], "customFields": {} }, "profile": { "nickname": "John Doe", "slug": "johndoe", "photo": { "id": "a27d24_0dd318~mv2.jpg", "url": "//static.wixstatic.com/media/a27d24_0dd318~mv2.jpg", "height": 256, "width": 256 }, "cover": { "id": "", "url": "https://example.com/myimage.jpg", "height": 1080, "width": 1920 } }, "privacyStatus": "PRIVATE", "activityStatus": "ACTIVE", "createdDate": "2019-10-30T17:22:10.299Z", "updatedDate": "2019-11-13T20:14:49.458Z", "lastLoginDate": "2019-11-13T20:10:49.458Z" } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?