getGroupByName method

  1. @deprecated
Future<Group> getGroupByName(
  1. String groupName
)

Returns a user group for a given group name.

Use updated Get group API

Permissions required: Permission to access the Confluence site ('Can use' global permission).

Implementation

@deprecated
Future<Group> getGroupByName(String groupName) async {
  return Group.fromJson(await _client.send(
    'get',
    'wiki/rest/api/group/{groupName}',
    pathParameters: {
      'groupName': groupName,
    },
  ));
}