Page tree
Skip to end of metadata
Go to start of metadata

Members can be removed from a Space through the "removeSpaceMembers" mutation on a WWClient or WWGraphQLEndpoint. The method takes a List of member IDs. The methods return an ArrayList of members IDs removed.

 


removeSpaceMembers
@Test(enabled = true)
@Parameters({ "appId", "appSecret","space2Id", "profileId" })
public void removeMembersToSpace(String appId, String appSecret, String space2Id, String profileId) throws WWException, UnsupportedEncodingException {
    WWClient client = WWClient.buildClientApplicationAccess(appId, appSecret, new WWAuthenticationEndpoint());
    client.authenticate();
    List<String> members = new ArrayList<String>();
    members.add(profileId);
    List<String> ids = client.removeSpaceMembers(space2Id, members);
    assert ids.size() == 1;
}


 

  • No labels

1 Comment

  1. Anonymous

    Company formation process varies depending on what type of business entity you would like to register. Similarly, the liability of shareholders, minimum initial capital, as well as time, costs and documents required depends on the chosen legal type of business. Typically, the company formation process can be divided into seven steps:

    1. Consultation on the information about company[1];
    2. Document drafting for the company formation[2];
    3. Opening the temporary bank account (if needed);
    4. Initial equity capital transfer into the temporary bank account;
    5. State fee payment[3];
    6. Company formation documents submission to the Register of Enterprises;
    7. Collection of the decision regarding company formation.
Write a comment…