List a User's Teams for an Organization

GET /api/0/organizations/{organization_id_or_slug}/user-teams/

Returns a list of teams the user has access to in the specified organization. Note that this endpoint is restricted to user auth tokens.

Path Parameters

organization_id_or_slug (string)
REQUIRED

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

Scopes

<auth_token> requires one of the following scopes:
  • org:admin
  • org:read
  • org:write
Copied
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/user-teams/ \
 -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
Copied
[ { "id": "48531", "slug": "ancient-gabelers", "name": "Ancient Gabelers", "dateCreated": "2018-11-06T21:20:08.115Z", "isMember": false, "teamRole": null, "flags": { "idp:provisioned": false }, "access": [ "member:read", "alerts:read", "org:read", "event:read", "project:read", "project:releases", "event:write", "team:read" ], "hasAccess": true, "isPending": false, "memberCount": 2, "avatar": { "avatarType": "letter_avatar", "avatarUuid": null } }, { "id": "100253", "slug": "powerful-abolitionist", "name": "Powerful Abolitionist", "dateCreated": "2018-10-03T17:47:50.745447Z", "isMember": false, "teamRole": null, "flags": { "idp:provisioned": false }, "access": [ "member:read", "alerts:read", "org:read", "event:read", "project:read", "project:releases", "event:write", "team:read" ], "hasAccess": true, "isPending": false, "memberCount": 5, "avatar": { "avatarType": "letter_avatar", "avatarUuid": null }, "projects": [ { "id": "6403534", "slug": "prime-mover", "name": "Prime Mover", "platform": null, "dateCreated": "2019-04-06T00:02:40.468175Z", "isBookmarked": false, "isMember": false, "features": [ "alert-filters", "custom-inbound-filters", "data-forwarding", "discard-groups", "minidump", "race-free-group-creation", "rate-limits", "servicehooks", "similarity-indexing", "similarity-indexing-v2", "similarity-view", "similarity-view-v2", "releases" ], "firstEvent": "2019-04-06T02:00:21Z", "firstTransactionEvent": true, "access": [ "alerts:read", "event:write", "org:read", "project:read", "member:read", "team:read", "event:read", "project:releases" ], "hasAccess": true, "hasMinifiedStackTrace": false, "hasCustomMetrics": false, "hasMonitors": true, "hasProfiles": false, "hasReplays": false, "hasFeedbacks": false, "hasNewFeedbacks": false, "hasSessions": true, "hasInsightsHttp": true, "hasInsightsDb": false, "hasInsightsAssets": true, "hasInsightsAppStart": false, "hasInsightsScreenLoad": false, "hasInsightsVitals": false, "hasInsightsCaches": false, "hasInsightsQueues": false, "hasInsightsLlmMonitoring": false, "isInternal": false, "isPublic": false, "avatar": { "avatarType": "letter_avatar", "avatarUuid": null }, "color": "#6d3fbf", "status": "active" }, { "id": "6403599", "slug": "the-spoiled-yoghurt", "name": "The Spoiled Yoghurt", "platform": "", "dateCreated": "2022-06-24T17:55:27.304367Z", "isBookmarked": false, "isMember": false, "features": [ "alert-filters", "custom-inbound-filters", "data-forwarding", "discard-groups", "minidump", "race-free-group-creation", "rate-limits", "servicehooks", "similarity-indexing", "similarity-indexing-v2", "similarity-view", "similarity-view-v2" ], "firstEvent": "2022-07-13T18:17:56.197351Z", "firstTransactionEvent": false, "access": [ "alerts:read", "event:write", "org:read", "project:read", "member:read", "team:read", "event:read", "project:releases" ], "hasAccess": true, "hasMinifiedStackTrace": false, "hasCustomMetrics": false, "hasMonitors": true, "hasProfiles": false, "hasReplays": false, "hasFeedbacks": false, "hasNewFeedbacks": false, "hasSessions": false, "hasInsightsHttp": false, "hasInsightsDb": true, "hasInsightsAssets": true, "hasInsightsAppStart": true, "hasInsightsScreenLoad": true, "hasInsightsVitals": false, "hasInsightsCaches": false, "hasInsightsQueues": false, "hasInsightsLlmMonitoring": false, "isInternal": false, "isPublic": false, "avatar": { "avatarType": "letter_avatar", "avatarUuid": null }, "color": "#6e3fbf", "status": "active" } ] } ]