1. Packages
  2. CAST AI
  3. API Docs
  4. OrganizationMembers
CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI

castai.OrganizationMembers

Get Started
castai logo
CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI

    Create OrganizationMembers Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OrganizationMembers(name: string, args: OrganizationMembersArgs, opts?: CustomResourceOptions);
    @overload
    def OrganizationMembers(resource_name: str,
                            args: OrganizationMembersArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def OrganizationMembers(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            organization_id: Optional[str] = None,
                            members: Optional[Sequence[str]] = None,
                            owners: Optional[Sequence[str]] = None,
                            viewers: Optional[Sequence[str]] = None)
    func NewOrganizationMembers(ctx *Context, name string, args OrganizationMembersArgs, opts ...ResourceOption) (*OrganizationMembers, error)
    public OrganizationMembers(string name, OrganizationMembersArgs args, CustomResourceOptions? opts = null)
    public OrganizationMembers(String name, OrganizationMembersArgs args)
    public OrganizationMembers(String name, OrganizationMembersArgs args, CustomResourceOptions options)
    
    type: castai:organization:OrganizationMembers
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OrganizationMembersArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OrganizationMembersArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OrganizationMembersArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OrganizationMembersArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OrganizationMembersArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    OrganizationMembers Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The OrganizationMembers resource accepts the following input properties:

    OrganizationId string
    CAST AI organization ID.
    Members List<string>
    A list of email addresses corresponding to users who should be given member access to the organization.

    Deprecated: The 'members' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    Owners List<string>
    A list of email addresses corresponding to users who should be given owner access to the organization.

    Deprecated: The 'owners' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    Viewers List<string>
    A list of email addresses corresponding to users who should be given viewer access to the organization.

    Deprecated: The 'viewers' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    OrganizationId string
    CAST AI organization ID.
    Members []string
    A list of email addresses corresponding to users who should be given member access to the organization.

    Deprecated: The 'members' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    Owners []string
    A list of email addresses corresponding to users who should be given owner access to the organization.

    Deprecated: The 'owners' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    Viewers []string
    A list of email addresses corresponding to users who should be given viewer access to the organization.

    Deprecated: The 'viewers' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    organizationId String
    CAST AI organization ID.
    members List<String>
    A list of email addresses corresponding to users who should be given member access to the organization.

    Deprecated: The 'members' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    owners List<String>
    A list of email addresses corresponding to users who should be given owner access to the organization.

    Deprecated: The 'owners' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    viewers List<String>
    A list of email addresses corresponding to users who should be given viewer access to the organization.

    Deprecated: The 'viewers' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    organizationId string
    CAST AI organization ID.
    members string[]
    A list of email addresses corresponding to users who should be given member access to the organization.

    Deprecated: The 'members' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    owners string[]
    A list of email addresses corresponding to users who should be given owner access to the organization.

    Deprecated: The 'owners' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    viewers string[]
    A list of email addresses corresponding to users who should be given viewer access to the organization.

    Deprecated: The 'viewers' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    organization_id str
    CAST AI organization ID.
    members Sequence[str]
    A list of email addresses corresponding to users who should be given member access to the organization.

    Deprecated: The 'members' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    owners Sequence[str]
    A list of email addresses corresponding to users who should be given owner access to the organization.

    Deprecated: The 'owners' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    viewers Sequence[str]
    A list of email addresses corresponding to users who should be given viewer access to the organization.

    Deprecated: The 'viewers' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    organizationId String
    CAST AI organization ID.
    members List<String>
    A list of email addresses corresponding to users who should be given member access to the organization.

    Deprecated: The 'members' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    owners List<String>
    A list of email addresses corresponding to users who should be given owner access to the organization.

    Deprecated: The 'owners' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    viewers List<String>
    A list of email addresses corresponding to users who should be given viewer access to the organization.

    Deprecated: The 'viewers' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OrganizationMembers resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing OrganizationMembers Resource

    Get an existing OrganizationMembers resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: OrganizationMembersState, opts?: CustomResourceOptions): OrganizationMembers
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            members: Optional[Sequence[str]] = None,
            organization_id: Optional[str] = None,
            owners: Optional[Sequence[str]] = None,
            viewers: Optional[Sequence[str]] = None) -> OrganizationMembers
    func GetOrganizationMembers(ctx *Context, name string, id IDInput, state *OrganizationMembersState, opts ...ResourceOption) (*OrganizationMembers, error)
    public static OrganizationMembers Get(string name, Input<string> id, OrganizationMembersState? state, CustomResourceOptions? opts = null)
    public static OrganizationMembers get(String name, Output<String> id, OrganizationMembersState state, CustomResourceOptions options)
    resources:  _:    type: castai:organization:OrganizationMembers    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Members List<string>
    A list of email addresses corresponding to users who should be given member access to the organization.

    Deprecated: The 'members' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    OrganizationId string
    CAST AI organization ID.
    Owners List<string>
    A list of email addresses corresponding to users who should be given owner access to the organization.

    Deprecated: The 'owners' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    Viewers List<string>
    A list of email addresses corresponding to users who should be given viewer access to the organization.

    Deprecated: The 'viewers' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    Members []string
    A list of email addresses corresponding to users who should be given member access to the organization.

    Deprecated: The 'members' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    OrganizationId string
    CAST AI organization ID.
    Owners []string
    A list of email addresses corresponding to users who should be given owner access to the organization.

    Deprecated: The 'owners' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    Viewers []string
    A list of email addresses corresponding to users who should be given viewer access to the organization.

    Deprecated: The 'viewers' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    members List<String>
    A list of email addresses corresponding to users who should be given member access to the organization.

    Deprecated: The 'members' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    organizationId String
    CAST AI organization ID.
    owners List<String>
    A list of email addresses corresponding to users who should be given owner access to the organization.

    Deprecated: The 'owners' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    viewers List<String>
    A list of email addresses corresponding to users who should be given viewer access to the organization.

    Deprecated: The 'viewers' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    members string[]
    A list of email addresses corresponding to users who should be given member access to the organization.

    Deprecated: The 'members' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    organizationId string
    CAST AI organization ID.
    owners string[]
    A list of email addresses corresponding to users who should be given owner access to the organization.

    Deprecated: The 'owners' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    viewers string[]
    A list of email addresses corresponding to users who should be given viewer access to the organization.

    Deprecated: The 'viewers' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    members Sequence[str]
    A list of email addresses corresponding to users who should be given member access to the organization.

    Deprecated: The 'members' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    organization_id str
    CAST AI organization ID.
    owners Sequence[str]
    A list of email addresses corresponding to users who should be given owner access to the organization.

    Deprecated: The 'owners' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    viewers Sequence[str]
    A list of email addresses corresponding to users who should be given viewer access to the organization.

    Deprecated: The 'viewers' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    members List<String>
    A list of email addresses corresponding to users who should be given member access to the organization.

    Deprecated: The 'members' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    organizationId String
    CAST AI organization ID.
    owners List<String>
    A list of email addresses corresponding to users who should be given owner access to the organization.

    Deprecated: The 'owners' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    viewers List<String>
    A list of email addresses corresponding to users who should be given viewer access to the organization.

    Deprecated: The 'viewers' field is deprecated. Use 'castai_role_bindings' resource instead for more granular role management. This field will be removed in a future version.

    Package Details

    Repository
    castai castai/pulumi-castai
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the castai Terraform Provider.
    castai logo
    CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI
      Meet Neo: Your AI Platform Teammate