List an Organization's SCIM Members

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

Returns a paginated list of members bound to a organization with a SCIM Users GET Request.

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:
  • member:admin
  • member:read
  • member:write
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/scim/v2/Users \
 -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:User"
      ],
      "id": "102",
      "userName": "test.user@okta.local",
      "emails": [
        {
          "primary": true,
          "value": "test.user@okta.local",
          "type": "work"
        }
      ],
      "name": {
        "familyName": "N/A",
        "givenName": "N/A"
      },
      "active": true,
      "meta": {
        "resourceType": "User"
      },
      "sentryOrgRole": "member"
    }
  ]
}