Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

/social/community/member/update/status/{communityid}/{personid}/{userstatus}

Changes a community member's status in the community.

Authentication

Required, see Auth - Login. The caller must either be the community moderator/owner, or an administrator.

Arguments

communityid (required)
Community ID to change a members status in, can also be a regex (community ID - regex) provided that matches only a single community.

personid (required)
Community member to change the status of - this will normally be the person's username (normally email address) but can also be their database "_id".

userstatus (required)
Status to change the member to (available statuses: "active", "disabled", "pending", "remove", the last of these removes the user from the community altogether )

Example

http://infinite.ikanow.com/api/community/member/update/status/4f5e189ada7f00000000510f/4f5e1ed6da7f000000005110/active

http://infinite.ikanow.com/api/community/member/update/status/4f5e189ada7f00000000510f/user@organization.com/active

Example Response
{
    response: 
    {
        action: "Update member status"
        success: true
        message: "Updated member status successfully"
        time: 45
    }
}

  • No labels