List an Organization's Users
Return a list of users that belong to a given organization.
Path Parameters
organization_slug
(string)REQUIREDThe slug of the organization the event ID should be looked up in.
Query Parameters:
project
(string)Restrict results to users who have access to a given project ID
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires the following scopes:org: read
GET /api/0/organizations/{organization_slug}/users/
curl https://sentry.io/api/0/organizations/{organization_slug}/users/ \ -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
[
{
"dateCreated": "2019-05-09T18:06:01.728Z",
"user": {
"username": "testEmail@test.com",
"lastLogin": "2019-09-16T02:56:06.806Z",
"isSuperuser": false,
"isManaged": false,
"lastActive": "2019-10-08T15:05:38.715Z",
"isStaff": false,
"id": "433307",
"isActive": true,
"has2fa": false,
"name": "OtherTest McTestuser",
"avatarUrl": "https: //secure.gravatar.com/avatar/1eb103c0e899f372a85eb0a44f0a0f42?s=32&d=mm",
"dateJoined": "2019-05-09T18:06:01.443Z",
"emails": [
{
"is_verified": true,
"id": "468229",
"email": "testEmail@test.com"
}
],
"avatar": {
"avatarUuid": null,
"avatarType": "letter_avatar"
},
"hasPasswordAuth": false,
"email": "testEmail@test.com"
},
"roleName": "Organization Owner",
"expired": false,
"id": "9376061",
"projects": [
"buggy-sentry-project"
],
"name": "OtherTest McTestuser",
"role": "owner",
"flags": {
"sso: linked": false,
"sso: invalid": false
},
"email": "testEmail@test.com",
"pending": false
}
]