v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
teams

List IdP groups for an organization

Lists IdP groups available in an organization.

get/orgs/{org}/team-sync/groups

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Query parameters

per_pageinteger

The number of results per page (max 100). For more information, see "Using pagination in the REST API."

pagestring

Page token

qstring

Filters the results to return only those that begin with the value specified by this parameter. For example, a value of ab will return results that begin with "ab".

Response

Response

Example response

{
  "groups": [
    {
      "group_id": "111a1a11-aaa1-1aaa-11a1-a1a1a1a1a1aa",
      "group_name": "saml-azuread-test",
      "group_description": "A group of Developers working on AzureAD SAML SSO"
    },
    {
      "group_id": "2bb2bb2b-bb22-22bb-2bb2-bb2bbb2bb2b2",
      "group_name": "saml-azuread-test2",
      "group_description": "Another group of Developers working on AzureAD SAML SSO"
    }
  ]
}