Introduction
Returns the auto-enrollment groups available for selection when configuring a Device Add-In on a database. Use this before calling the Add/Remove auto-enrollment groups APIs to discover the set of valid group IDs for a database. Only reseller users can call this method. Groups are database-scoped in MyGeotab and are not constrained by Add-In — every group in the database is a valid auto-enrollment candidate for any Add-In installed on that database, so no solutionId is required.
Parameters

accountId

The account for access validation. Accepts either the integer account id (e.g. 90) or the string ERP/reseller account code (e.g. "STAF01"); the API auto-detects which form was supplied.

apiKey

The API key (User ID) of the authenticated reseller.

databaseName

The database name to fetch available auto-enrollment groups for.

sessionId

The session ID of the authenticated reseller.
Return value
ApiGetAvailableAutoEnrollmentGroupsResponse containing the available groups (empty when the database has no groups).
Code samples

Loading API Runner...