Organizations

ListOrganizationMembers

ListOrganizationMembers lists the members of an organization. This API unfortunately has two different "modes", returning either the organization's "frontend members" or "backend members".

  • A "frontend member" is data stored in the Pulumi Service's database. For organizations billed per-member, this is the set of members that are counted against the organization's seat cap.
  • A "backend member" is data stored in the organization's backend. (e.g. GitHub, GitLab, or for SAML orgs, also the Pulumi Service database.)

This isn't ideal, but is required so that the APIs can be paginated correctly while not returning any users twice. (Which would be impossible in some cases.)

get/api/orgs/{orgName}/members

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/orgs/{orgName}/members
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

Query parameters

continuationTokenstring

Token for paginated result retrieval

includeSuspendedboolean

When true and the caller has org admin privileges, suspended members are included in the result with their 'Suspended' field set. Ignored for non-admin callers.

type'backend' | 'frontend'

The kind of member list to retrieve. Defaults to 'frontend' when omitted.

Response

OK

continuationTokenstring

An opaque token for fetching the next page of members

Changes

No recorded changes to this operation across all 1 revision of this API.