addUserToGroupByGroupId method
Adds a user as a member in a group represented by its groupId
Permissions required: User must be a site admin.
Implementation
Future<void> addUserToGroupByGroupId(
{required String groupId, required AccountId body}) async {
await _client.send(
'post',
'wiki/rest/api/group/userByGroupId',
queryParameters: {
'groupId': groupId,
},
body: body.toJson(),
);
}