Skip to main content

OrganizationMember

Resource OrganizationMember in pulumi-posthog.
2 min read

Resource OrganizationMember in pulumi-posthog.

Pulumi type: posthog:index/organizationMember:OrganizationMember.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
levelstringnoThe access level for the member. Valid values are 'member', 'admin', or 'owner'. Defaults to 'member'.
organizationIdstringnoOrganization for this resource. Overrides the provider-level organization_id. Accepts an organization UUID, an organization slug, or the literal @current (the authenticated user's organization); slugs and @current are resolved to a UUID for API calls while your original value is preserved in state.
retainOnDestroybooleannoIf true, the user will remain in the organization when this resource is destroyed. Defaults to false.
userUuidstringyesThe UUID of the user. Use the posthog.getUser data source to look up users by email.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
emailstringyesThe email address of the user.
firstNamestringyesThe first name of the user.
is2faEnabledbooleanyesWhether two-factor authentication is enabled for the user.
joinedAtstringyesTimestamp when the user joined the organization.
lastNamestringyesThe last name of the user.
levelstringnoThe access level for the member. Valid values are 'member', 'admin', or 'owner'. Defaults to 'member'.
organizationIdstringnoOrganization for this resource. Overrides the provider-level organization_id. Accepts an organization UUID, an organization slug, or the literal @current (the authenticated user's organization); slugs and @current are resolved to a UUID for API calls while your original value is preserved in state.
retainOnDestroybooleannoIf true, the user will remain in the organization when this resource is destroyed. Defaults to false.
userUuidstringnoThe UUID of the user. Use the posthog.getUser data source to look up users by email.