メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
connections
/
{id}
/
directory-provisioning
/
synchronized-groups
Get synchronized groups for a directory provisioning configuration
curl --request GET \
  --url https://{tenantDomain}/api/v2/connections/{id}/directory-provisioning/synchronized-groups \
  --header 'Authorization: Bearer <token>'
{
  "groups": [
    {
      "id": "<string>"
    }
  ],
  "next": "<string>"
}

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

パスパラメータ

id
string
必須

The id of the connection to list synchronized groups for.

クエリパラメータ

from
string

Optional Id from which to start selection.

take
integer

Number of results per page. Defaults to 50.

必須範囲: 1 <= x <= 100

レスポンス

The connection's synchronized groups. See Response Schemas for schema.

groups
object[]
必須

Array of Google Workspace group ids configured for synchronization.

next
string

The cursor to be used as the "from" query parameter for the next page of results.