List an Organization's Paginated Teams

GET /api/0/organizations/{organization_id_or_slug}/scim/v2/Groups

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 10,000 members.

Path Parameters

organization_id_or_slug (string)
REQUIRED

The id or slug of the organization the resource belongs to.

Query Parameters:

startIndex (integer)

SCIM 1-offset based index for pagination.

count (integer)

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

filter (string)

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

excludedAttributes (array(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 one of the following scopes:
  • team:admin
  • team:read
  • team:write
curl https://sentry.io/api/0/organizations/{organization_id_or_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"
      }
    }
  ]
}