Organizations

AddOrganizationMember

Adds an existing Pulumi user to an organization with a built-in role. Important: The user must have already signed up for a Pulumi account before they can be added to an organization.

This endpoint only assigns built-in roles. To onboard a user with a custom role, use the organization invite flow (BatchCreateOrgInviteEmail) and set roleId on the invite — the custom role is applied when the user accepts. Alternatively, add the user here with a built-in role and then call UpdateOrganizationMember with fgaRoleId to reassign.

Returns the newly created organization member record. Returns 409 if the user is already a member of the organization.

post/api/orgs/{orgName}/members/{userLogin}

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/{userLogin}
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

userLoginstring required

The user login name

Request body

role'none' | 'member' | 'admin' | 'potential-member' | 'stack-collaborator' | 'billing-manager' required

The built-in role assigned to the new member. Must be member, admin, or billingManager.

Response

OK

createdstring date-time required

When the member joined the organization.

knownToPulumiboolean required

KnownToPulumi returns if the organization member has a Pulumi account.

role'none' | 'member' | 'admin' | 'potential-member' | 'stack-collaborator' | 'billing-manager' required

Deprecated: Use fgaRole instead. The member's built-in role within the organization. For members assigned a custom role, this is the closest built-in projection (member, admin, or billingManager) and may lose detail; fgaRole is authoritative.

suspendedboolean

Suspended indicates that the membership is suspended: the member keeps their place in the organization but has no access until an administrator restores them. Suspended members are only included in responses when explicitly requested.

teamsstring[]

Deprecated. Use GetOrganizationMemberTeams to list teams.

virtualAdminboolean required

VirtualAdmin indicates that the member does not have admin access on the backing identity provider, but does have admin access to the Pulumi organization.

Changes

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