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

You can get information about a group with the getGroupInformation method.

Permission to run the request: Account Owner, Administrator, Organization Administrator, Publisher.


Parameters

ParameterTypeDescription
credentials (required)credentialsRead the description of the Credentials object.
groupId (required)stringID of the group, which information you want to get.

 

Return Value

After the request has been completed, the system returns an object with the following properties:

ParameterTypeDescription
groupIdstringID of the group.
namestringName of the group.
descriptionstringDescription of the group.
usersstring[]An array with IDs of those users, who belong to a given group.
organizationIdintID of the organization.

 

Possible Errors

ErrorDescription
Unknown group

The group was not found.

For Organization Admins and Publishers, the group is not within their organization.

Sample Call

Sample Response

  •