{"componentChunkName":"component---src-templates-api-page-tsx","path":"/api/organizations/list-an-organizations-users/","result":{"data":{"openApi":{"id":"aeb46a56-c0da-57a7-8cbb-266c6a1c2cc3","path":{"description":"Return a list of users that belong to a given organization.","method":"get","operationId":"List an Organization's Users","summary":null,"tags":["Organizations"],"apiPath":"/api/0/organizations/{organization_slug}/users/","readableUrl":"/api/organizations/list-an-organizations-users/","parameters":[{"schema":{"type":"string","format":null,"enum":null},"name":"organization_slug","in":"path","description":"The slug of the organization the event ID should be looked up in.","required":true},{"schema":{"type":"string","format":null,"enum":null},"name":"project","in":"query","description":"Restrict results to users who have access to a given project ID","required":null}],"responses":[{"content":{"content_type":"application/json","example":"[\n  {\n    \"dateCreated\": \"2019-05-09T18:06:01.728Z\",\n    \"user\": {\n      \"username\": \"testEmail@test.com\",\n      \"lastLogin\": \"2019-09-16T02:56:06.806Z\",\n      \"isSuperuser\": false,\n      \"isManaged\": false,\n      \"lastActive\": \"2019-10-08T15:05:38.715Z\",\n      \"isStaff\": false,\n      \"id\": \"433307\",\n      \"isActive\": true,\n      \"has2fa\": false,\n      \"name\": \"OtherTest McTestuser\",\n      \"avatarUrl\": \"https:  //secure.gravatar.com/avatar/1eb103c0e899f372a85eb0a44f0a0f42?s=32&d=mm\",\n      \"dateJoined\": \"2019-05-09T18:06:01.443Z\",\n      \"emails\": [\n        {\n          \"is_verified\": true,\n          \"id\": \"468229\",\n          \"email\": \"testEmail@test.com\"\n        }\n      ],\n      \"avatar\": {\n        \"avatarUuid\": null,\n        \"avatarType\": \"letter_avatar\"\n      },\n      \"hasPasswordAuth\": false,\n      \"email\": \"testEmail@test.com\"\n    },\n    \"roleName\": \"Organization Owner\",\n    \"expired\": false,\n    \"id\": \"9376061\",\n    \"projects\": [\n      \"buggy-sentry-project\"\n    ],\n    \"name\": \"OtherTest McTestuser\",\n    \"role\": \"owner\",\n    \"flags\": {\n      \"sso: linked\": false,\n      \"sso: invalid\": false\n    },\n    \"email\": \"testEmail@test.com\",\n    \"pending\": false\n  }\n]","schema":"{\n  \"type\": \"array\",\n  \"items\": {\n    \"type\": \"object\",\n    \"required\": [\n      \"dateCreated\",\n      \"user\",\n      \"roleName\",\n      \"expired\",\n      \"id\",\n      \"projects\",\n      \"name\",\n      \"role\",\n      \"flags\",\n      \"email\",\n      \"pending\"\n    ],\n    \"properties\": {\n      \"dateCreated\": {\n        \"type\": \"string\"\n      },\n      \"user\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"username\",\n          \"lastLogin\",\n          \"isSuperuser\",\n          \"isManaged\",\n          \"lastActive\",\n          \"isStaff\",\n          \"id\",\n          \"isActive\",\n          \"has2fa\",\n          \"name\",\n          \"avatarUrl\",\n          \"dateJoined\",\n          \"emails\",\n          \"avatar\",\n          \"hasPasswordAuth\",\n          \"email\"\n        ],\n        \"properties\": {\n          \"username\": {\n            \"type\": \"string\"\n          },\n          \"lastLogin\": {\n            \"type\": \"string\"\n          },\n          \"isSuperuser\": {\n            \"type\": \"boolean\"\n          },\n          \"isManaged\": {\n            \"type\": \"boolean\"\n          },\n          \"lastActive\": {\n            \"type\": \"string\"\n          },\n          \"isStaff\": {\n            \"type\": \"boolean\"\n          },\n          \"id\": {\n            \"type\": \"string\"\n          },\n          \"isActive\": {\n            \"type\": \"boolean\"\n          },\n          \"has2fa\": {\n            \"type\": \"boolean\"\n          },\n          \"name\": {\n            \"type\": \"string\"\n          },\n          \"avatarUrl\": {\n            \"type\": \"string\"\n          },\n          \"dateJoined\": {\n            \"type\": \"string\"\n          },\n          \"emails\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"type\": \"object\",\n              \"properties\": {\n                \"is_verified\": {\n                  \"type\": \"boolean\"\n                },\n                \"id\": {\n                  \"type\": \"string\"\n                },\n                \"email\": {\n                  \"type\": \"string\"\n                }\n              }\n            }\n          },\n          \"avatar\": {\n            \"type\": \"object\",\n            \"properties\": {\n              \"avatarType\": {\n                \"type\": \"string\"\n              },\n              \"avatarUuid\": {\n                \"type\": \"string\",\n                \"nullable\": true\n              }\n            }\n          },\n          \"hasPasswordAuth\": {\n            \"type\": \"boolean\"\n          },\n          \"email\": {\n            \"type\": \"string\"\n          }\n        }\n      },\n      \"roleName\": {\n        \"type\": \"string\"\n      },\n      \"expired\": {\n        \"type\": \"boolean\"\n      },\n      \"id\": {\n        \"type\": \"string\"\n      },\n      \"projects\": {\n        \"type\": \"array\",\n        \"items\": {\n          \"type\": \"string\"\n        }\n      },\n      \"name\": {\n        \"type\": \"string\"\n      },\n      \"role\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"owner\",\n          \"manager\",\n          \"admin\",\n          \"member\",\n          \"billing\"\n        ]\n      },\n      \"flags\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"sso: linked\": {\n            \"type\": \"boolean\"\n          },\n          \"sso: invalid\": {\n            \"type\": \"boolean\"\n          }\n        }\n      },\n      \"email\": {\n        \"type\": \"string\"\n      },\n      \"pending\": {\n        \"type\": \"boolean\"\n      }\n    }\n  }\n}"},"description":"Success","status_code":"200"},{"content":null,"description":"Unauthorized","status_code":"401"},{"content":null,"description":"Forbidden","status_code":"403"},{"content":null,"description":"Not Found","status_code":"404"}],"requestBody":null,"security":[{"auth_token":["org: read"]}]}}},"pageContext":{"id":"aeb46a56-c0da-57a7-8cbb-266c6a1c2cc3","title":"List an Organization's Users"}},"staticQueryHashes":["1218203755","1222113826","1222113826","1766336459","2158593473","3990806462","4015007367","4192517163"]}