GET/v2/organizations/{id}/users

List users in an organization

Lists the users in an organization, including users who are members only of projects within that organization. Use search to narrow the results and page and size to control pagination.

5 parameters
idintegerrequired
The integer identifier of the organization whose users you want to list.
pageintegeroptional
Zero-based page index. Defaults to 0 when omitted and must be 0 or greater.
Default:0
sizeintegeroptional
Number of users to return per page. Defaults to 20 when omitted and must be at least 1.
Default:20
sortarray<string>optional
Sorting criteria in `property,(asc|desc)` format; you can provide multiple criteria. Defaults to `name,ASC` and `username,ASC` when omitted.
Default:["name,ASC","username,ASC"]
searchstringoptional
Text used to search and filter the organization's users.

5 status codes
200Returns a paginated response containing organization users and page metadata, including the page number, page size, total elements, and total pages.
_embeddedobjectoptional
pageobjectoptional
400Returned when pagination or sorting values are invalid.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
401Returned when the request is not authenticated.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
403Returned when the authenticated user does not have permission to access the organization's users.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
404Returned when the specified organization does not exist.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional

Error handling

A 400 indicates invalid pagination or sorting values; a 401 indicates missing or invalid authentication; a 403 indicates insufficient access; and a 404 indicates the organization was not found. The id path parameter must identify an existing organization, and page must be zero or greater while size must be at least 1.