List an Organization's Paginated Teams

Returns a paginated list of teams bound to a organization with a SCIM Groups GET Request.

  • Note that the members field will only contain up to 10000 members.

Path Parameters

organization_slug (string)
REQUIRED

The slug of the organization.

Query Parameters:

startIndex (integer)

SCIM 1-offset based index for pagination.

filter (string)

A SCIM filter expression. The only operator currently supported is eq.

count (integer)

The maximum number of results the query should return, maximum of 100.

excludedAttributes (string)

Fields that should be left off of return values. Right now the only supported field for this query is members.

Scopes

<auth_token> requires the following scopes:
  • team:read
GET /api/0/organizations/{organization_slug}/scim/v2/Groups
curl https://sentry.io/api/0/organizations/{organization_slug}/scim/v2/Groups \
 -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:ListResponse"
  ],
  "totalResults": 1,
  "startIndex": 1,
  "itemsPerPage": 1,
  "Resources": [
    {
      "schemas": [
        "urn:ietf:params:scim:schemas:core:2.0:Group"
      ],
      "id": "23232",
      "displayName": "test-scimv2",
      "members": [],
      "meta": {
        "resourceType": "Group"
      }
    }
  ]
}