Organizations

UpdateOrganizationMember

Modifies a user's role within an organization. Set role to assign a built-in role (member, admin, or billingManager), or set fgaRoleId to assign a custom role. If both are provided, fgaRoleId takes precedence.

patch/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

fgaRoleIdstring

The ID of a custom role to assign to the member. If both role and fgaRoleId are provided, fgaRoleId takes precedence.

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

The built-in role to assign to the member. Must be member, admin, or billing-manager. Ignored if fgaRoleId is also set.

Response

No Content

Changes

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