List users in the organizationDeprecated

Deprecated in favor of the List principals v1 endpoint, with the types=USER filter.

List all users in the specified organization. The list can differ from the one that can be retrieved in a particular project in the organization. This is because organizations can contain several projects, and not all organization users have logged into all projects, and there have a profile there.

Access control

Any logged in principal can list users in their own organization.

Securityorg-oidc-token
Request
path Parameters
org
required
string (OrgId) [ 3 .. 64 ] characters ^([a-z][a-z0-9-]{1,62}[a-z0-9])$

ID of an organization

Example: my-org
query Parameters
cursor
string

Cursor for paging through results. In general, if a response contains a nextCursor property, it means that there may be more results, and you should pass that value as the cursor parameter in the next request.

Note that the cursor may or may not be encrypted, but either way, it is not intended to be decoded. Its internal structure is not a part of the public API, and may change without notice. You should treat it as an opaque string and not attempt to craft your own cursors.

Example: cursor=4zj0Vy2fo0NtNMb229mI9r1V3YG5NBL752kQz1cKtwo
Responses
200

A list of organization users

get/orgs/{org}/users
Request samples
Response samples
application/json
{
  • "items": [
    • {
      }
    ],
  • "nextCursor": "4zj0Vy2fo0NtNMb229mI9r1V3YG5NBL752kQz1cKtwo"
}