groupManagerBlock

This block allows to manage group membership, add and remove users from the group.

1. Properties

2. Usage

2.1 List of the groups in which the user is included:

2.2 List of the users included in the group

2.3 Inviting users to groups

First step is to select the role to invite the user as shown below:

Next step is to copy and send the unique invite or the link to the invite.

2.4 Removing users from groups

API Parameters

GET /policies/{policyId}/blocks/{uuid}

Path Parameters

{
  "data": [
    {
      "id": "6b3efd88-037c-4335-a4d1-02776e23973c",
      "role": "VVB(manager)",
      "groupName": "VVBs",
      "groupLabel": "vvb_group1",
      "type": "Owner",
      "groupRelationshipType": "Multiple",
      "groupAccessType": "Private",
      "canInvite": true,
      "canDelete": true,
      "roles": [
        "VVB"
      ],
      "data": [
        {
          "did": "did:hedera:testnet:HdSCbrXJjjfvzymnnzzybNVWQGGGY48p6JGo6Ao5UHnT_0.0.3075949",
          "username": "Virtual User 1",
          "role": "VVB(manager)",
          "type": "Owner",
          "current": true
        },
        {
          "did": "did:hedera:testnet:CJotqpGfK9zVqDHgjtkHg5EPvkTShQVc3hZjojw8St3N_0.0.3075949",
          "username": "Virtual User 2",
          "role": "VVB",
          "type": "Member",
          "current": false
        }
      ]
    }
  ]
}

POST /policies/{policyId}/blocks/{uuid}

Path Parameters

Request Body

Last updated