34.59. Method: listGroups

Description

List the available groups for a given system.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • int serverId
Returns

The following return values are available for this method:

  • array:
    • struct - system group
      • int id - Server group ID
      • int subscribed - 1 if the given server is subscribed to this server group, 0 otherwise
      • string system_group_name - Name of the server group
      • string sgid - Server group ID (deprecated)