MongoDB Atlas v4.4.0 published on Thursday, Feb 19, 2026 by Pulumi
MongoDB Atlas v4.4.0 published on Thursday, Feb 19, 2026 by Pulumi
mongodbatlas.Organization describes all MongoDB Atlas Organizations. This represents organizations that have been created.
Example Usage
Using project_id attribute to query
import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";
const test = mongodbatlas.getOrganization({
orgId: "<org_id>",
});
import pulumi
import pulumi_mongodbatlas as mongodbatlas
test = mongodbatlas.get_organization(org_id="<org_id>")
package main
import (
"github.com/pulumi/pulumi-mongodbatlas/sdk/v4/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mongodbatlas.LookupOrganization(ctx, &mongodbatlas.LookupOrganizationArgs{
OrgId: "<org_id>",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
return await Deployment.RunAsync(() =>
{
var test = Mongodbatlas.GetOrganization.Invoke(new()
{
OrgId = "<org_id>",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mongodbatlas.MongodbatlasFunctions;
import com.pulumi.mongodbatlas.inputs.GetOrganizationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = MongodbatlasFunctions.getOrganization(GetOrganizationArgs.builder()
.orgId("<org_id>")
.build());
}
}
variables:
test:
fn::invoke:
function: mongodbatlas:getOrganization
arguments:
orgId: <org_id>
Using getOrganization
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getOrganization(args: GetOrganizationArgs, opts?: InvokeOptions): Promise<GetOrganizationResult>
function getOrganizationOutput(args: GetOrganizationOutputArgs, opts?: InvokeOptions): Output<GetOrganizationResult>def get_organization(org_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOrganizationResult
def get_organization_output(org_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationResult]func LookupOrganization(ctx *Context, args *LookupOrganizationArgs, opts ...InvokeOption) (*LookupOrganizationResult, error)
func LookupOrganizationOutput(ctx *Context, args *LookupOrganizationOutputArgs, opts ...InvokeOption) LookupOrganizationResultOutput> Note: This function is named LookupOrganization in the Go SDK.
public static class GetOrganization
{
public static Task<GetOrganizationResult> InvokeAsync(GetOrganizationArgs args, InvokeOptions? opts = null)
public static Output<GetOrganizationResult> Invoke(GetOrganizationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOrganizationResult> getOrganization(GetOrganizationArgs args, InvokeOptions options)
public static Output<GetOrganizationResult> getOrganization(GetOrganizationArgs args, InvokeOptions options)
fn::invoke:
function: mongodbatlas:index/getOrganization:getOrganization
arguments:
# arguments dictionaryThe following arguments are supported:
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization.
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization.
- org
Id string - Unique 24-hexadecimal digit string that identifies the organization.
- org_
id str - Unique 24-hexadecimal digit string that identifies the organization.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization.
getOrganization Result
The following output properties are available:
- Api
Access boolList Required - (Optional) Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- Gen
Ai boolFeatures Enabled - (Optional) Flag that indicates whether this organization has access to generative AI features. This setting only applies to Atlas Commercial and defaults to
true. With this setting on, Project Owners may be able to enable or disable individual AI features at the project level. To learn more, see https://www.mongodb.com/docs/generative-ai-faq/. - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Deleted bool - Flag that indicates whether this organization has been deleted.
- Links
List<Get
Organization Link> - Multi
Factor boolAuth Required - (Optional) Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- Name string
- Human-readable label that identifies the organization.
- Org
Id string - Restrict
Employee boolAccess - (Optional) Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
- Security
Contact string - (Optional) String that specifies a single email address for the specified organization to receive security-related notifications. Specifying a security contact does not grant them authorization or access to Atlas for security decisions or approvals.
- Skip
Default boolAlerts Settings - Users
List<Get
Organization User> - Returns a list of all pending and active MongoDB Cloud users associated with the specified organization.
- Api
Access boolList Required - (Optional) Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- Gen
Ai boolFeatures Enabled - (Optional) Flag that indicates whether this organization has access to generative AI features. This setting only applies to Atlas Commercial and defaults to
true. With this setting on, Project Owners may be able to enable or disable individual AI features at the project level. To learn more, see https://www.mongodb.com/docs/generative-ai-faq/. - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Deleted bool - Flag that indicates whether this organization has been deleted.
- Links
[]Get
Organization Link - Multi
Factor boolAuth Required - (Optional) Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- Name string
- Human-readable label that identifies the organization.
- Org
Id string - Restrict
Employee boolAccess - (Optional) Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
- Security
Contact string - (Optional) String that specifies a single email address for the specified organization to receive security-related notifications. Specifying a security contact does not grant them authorization or access to Atlas for security decisions or approvals.
- Skip
Default boolAlerts Settings - Users
[]Get
Organization User - Returns a list of all pending and active MongoDB Cloud users associated with the specified organization.
- api
Access BooleanList Required - (Optional) Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- gen
Ai BooleanFeatures Enabled - (Optional) Flag that indicates whether this organization has access to generative AI features. This setting only applies to Atlas Commercial and defaults to
true. With this setting on, Project Owners may be able to enable or disable individual AI features at the project level. To learn more, see https://www.mongodb.com/docs/generative-ai-faq/. - id String
- The provider-assigned unique ID for this managed resource.
- is
Deleted Boolean - Flag that indicates whether this organization has been deleted.
- links
List<Get
Organization Link> - multi
Factor BooleanAuth Required - (Optional) Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- name String
- Human-readable label that identifies the organization.
- org
Id String - restrict
Employee BooleanAccess - (Optional) Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
- security
Contact String - (Optional) String that specifies a single email address for the specified organization to receive security-related notifications. Specifying a security contact does not grant them authorization or access to Atlas for security decisions or approvals.
- skip
Default BooleanAlerts Settings - users
List<Get
Organization User> - Returns a list of all pending and active MongoDB Cloud users associated with the specified organization.
- api
Access booleanList Required - (Optional) Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- gen
Ai booleanFeatures Enabled - (Optional) Flag that indicates whether this organization has access to generative AI features. This setting only applies to Atlas Commercial and defaults to
true. With this setting on, Project Owners may be able to enable or disable individual AI features at the project level. To learn more, see https://www.mongodb.com/docs/generative-ai-faq/. - id string
- The provider-assigned unique ID for this managed resource.
- is
Deleted boolean - Flag that indicates whether this organization has been deleted.
- links
Get
Organization Link[] - multi
Factor booleanAuth Required - (Optional) Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- name string
- Human-readable label that identifies the organization.
- org
Id string - restrict
Employee booleanAccess - (Optional) Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
- security
Contact string - (Optional) String that specifies a single email address for the specified organization to receive security-related notifications. Specifying a security contact does not grant them authorization or access to Atlas for security decisions or approvals.
- skip
Default booleanAlerts Settings - users
Get
Organization User[] - Returns a list of all pending and active MongoDB Cloud users associated with the specified organization.
- api_
access_ boollist_ required - (Optional) Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- gen_
ai_ boolfeatures_ enabled - (Optional) Flag that indicates whether this organization has access to generative AI features. This setting only applies to Atlas Commercial and defaults to
true. With this setting on, Project Owners may be able to enable or disable individual AI features at the project level. To learn more, see https://www.mongodb.com/docs/generative-ai-faq/. - id str
- The provider-assigned unique ID for this managed resource.
- is_
deleted bool - Flag that indicates whether this organization has been deleted.
- links
Sequence[Get
Organization Link] - multi_
factor_ boolauth_ required - (Optional) Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- name str
- Human-readable label that identifies the organization.
- org_
id str - restrict_
employee_ boolaccess - (Optional) Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
- security_
contact str - (Optional) String that specifies a single email address for the specified organization to receive security-related notifications. Specifying a security contact does not grant them authorization or access to Atlas for security decisions or approvals.
- skip_
default_ boolalerts_ settings - users
Sequence[Get
Organization User] - Returns a list of all pending and active MongoDB Cloud users associated with the specified organization.
- api
Access BooleanList Required - (Optional) Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- gen
Ai BooleanFeatures Enabled - (Optional) Flag that indicates whether this organization has access to generative AI features. This setting only applies to Atlas Commercial and defaults to
true. With this setting on, Project Owners may be able to enable or disable individual AI features at the project level. To learn more, see https://www.mongodb.com/docs/generative-ai-faq/. - id String
- The provider-assigned unique ID for this managed resource.
- is
Deleted Boolean - Flag that indicates whether this organization has been deleted.
- links List<Property Map>
- multi
Factor BooleanAuth Required - (Optional) Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- name String
- Human-readable label that identifies the organization.
- org
Id String - restrict
Employee BooleanAccess - (Optional) Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
- security
Contact String - (Optional) String that specifies a single email address for the specified organization to receive security-related notifications. Specifying a security contact does not grant them authorization or access to Atlas for security decisions or approvals.
- skip
Default BooleanAlerts Settings - users List<Property Map>
- Returns a list of all pending and active MongoDB Cloud users associated with the specified organization.
Supporting Types
GetOrganizationLink
GetOrganizationUser
- Country string
- Two-character alphabetical string that identifies the MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format.
- Created
At string - Date and time when MongoDB Cloud created the current account. This value is in the ISO 8601 timestamp format in UTC.
- First
Name string - First or given name that belongs to the MongoDB Cloud user.
- Id string
- Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
- Invitation
Created stringAt - Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
- Invitation
Expires stringAt - Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
- Inviter
Username string - Username of the MongoDB Cloud user who sent the invitation to join the organization.
- Last
Auth string - Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC.
- Last
Name string - Last name, family name, or surname that belongs to the MongoDB Cloud user.
- Mobile
Number string - Mobile phone number that belongs to the MongoDB Cloud user.
- Org
Membership stringStatus - String enum that indicates whether the MongoDB Cloud user has a pending invitation to join the organization or they are already active in the organization.
- Roles
List<Get
Organization User Role> - Organization- and project-level roles assigned to one MongoDB Cloud user within one organization.
- Team
Ids List<string> - List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs.
- Username string
- Email address that represents the username of the MongoDB Cloud user.
- Country string
- Two-character alphabetical string that identifies the MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format.
- Created
At string - Date and time when MongoDB Cloud created the current account. This value is in the ISO 8601 timestamp format in UTC.
- First
Name string - First or given name that belongs to the MongoDB Cloud user.
- Id string
- Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
- Invitation
Created stringAt - Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
- Invitation
Expires stringAt - Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
- Inviter
Username string - Username of the MongoDB Cloud user who sent the invitation to join the organization.
- Last
Auth string - Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC.
- Last
Name string - Last name, family name, or surname that belongs to the MongoDB Cloud user.
- Mobile
Number string - Mobile phone number that belongs to the MongoDB Cloud user.
- Org
Membership stringStatus - String enum that indicates whether the MongoDB Cloud user has a pending invitation to join the organization or they are already active in the organization.
- Roles
[]Get
Organization User Role - Organization- and project-level roles assigned to one MongoDB Cloud user within one organization.
- Team
Ids []string - List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs.
- Username string
- Email address that represents the username of the MongoDB Cloud user.
- country String
- Two-character alphabetical string that identifies the MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format.
- created
At String - Date and time when MongoDB Cloud created the current account. This value is in the ISO 8601 timestamp format in UTC.
- first
Name String - First or given name that belongs to the MongoDB Cloud user.
- id String
- Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
- invitation
Created StringAt - Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
- invitation
Expires StringAt - Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
- inviter
Username String - Username of the MongoDB Cloud user who sent the invitation to join the organization.
- last
Auth String - Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC.
- last
Name String - Last name, family name, or surname that belongs to the MongoDB Cloud user.
- mobile
Number String - Mobile phone number that belongs to the MongoDB Cloud user.
- org
Membership StringStatus - String enum that indicates whether the MongoDB Cloud user has a pending invitation to join the organization or they are already active in the organization.
- roles
List<Get
Organization User Role> - Organization- and project-level roles assigned to one MongoDB Cloud user within one organization.
- team
Ids List<String> - List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs.
- username String
- Email address that represents the username of the MongoDB Cloud user.
- country string
- Two-character alphabetical string that identifies the MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format.
- created
At string - Date and time when MongoDB Cloud created the current account. This value is in the ISO 8601 timestamp format in UTC.
- first
Name string - First or given name that belongs to the MongoDB Cloud user.
- id string
- Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
- invitation
Created stringAt - Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
- invitation
Expires stringAt - Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
- inviter
Username string - Username of the MongoDB Cloud user who sent the invitation to join the organization.
- last
Auth string - Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC.
- last
Name string - Last name, family name, or surname that belongs to the MongoDB Cloud user.
- mobile
Number string - Mobile phone number that belongs to the MongoDB Cloud user.
- org
Membership stringStatus - String enum that indicates whether the MongoDB Cloud user has a pending invitation to join the organization or they are already active in the organization.
- roles
Get
Organization User Role[] - Organization- and project-level roles assigned to one MongoDB Cloud user within one organization.
- team
Ids string[] - List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs.
- username string
- Email address that represents the username of the MongoDB Cloud user.
- country str
- Two-character alphabetical string that identifies the MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format.
- created_
at str - Date and time when MongoDB Cloud created the current account. This value is in the ISO 8601 timestamp format in UTC.
- first_
name str - First or given name that belongs to the MongoDB Cloud user.
- id str
- Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
- invitation_
created_ strat - Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
- invitation_
expires_ strat - Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
- inviter_
username str - Username of the MongoDB Cloud user who sent the invitation to join the organization.
- last_
auth str - Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC.
- last_
name str - Last name, family name, or surname that belongs to the MongoDB Cloud user.
- mobile_
number str - Mobile phone number that belongs to the MongoDB Cloud user.
- org_
membership_ strstatus - String enum that indicates whether the MongoDB Cloud user has a pending invitation to join the organization or they are already active in the organization.
- roles
Sequence[Get
Organization User Role] - Organization- and project-level roles assigned to one MongoDB Cloud user within one organization.
- team_
ids Sequence[str] - List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs.
- username str
- Email address that represents the username of the MongoDB Cloud user.
- country String
- Two-character alphabetical string that identifies the MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format.
- created
At String - Date and time when MongoDB Cloud created the current account. This value is in the ISO 8601 timestamp format in UTC.
- first
Name String - First or given name that belongs to the MongoDB Cloud user.
- id String
- Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
- invitation
Created StringAt - Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
- invitation
Expires StringAt - Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
- inviter
Username String - Username of the MongoDB Cloud user who sent the invitation to join the organization.
- last
Auth String - Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC.
- last
Name String - Last name, family name, or surname that belongs to the MongoDB Cloud user.
- mobile
Number String - Mobile phone number that belongs to the MongoDB Cloud user.
- org
Membership StringStatus - String enum that indicates whether the MongoDB Cloud user has a pending invitation to join the organization or they are already active in the organization.
- roles List<Property Map>
- Organization- and project-level roles assigned to one MongoDB Cloud user within one organization.
- team
Ids List<String> - List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs.
- username String
- Email address that represents the username of the MongoDB Cloud user.
GetOrganizationUserRole
- org
Roles List<String> - project
Role List<Property Map>Assignments
GetOrganizationUserRoleProjectRoleAssignment
- Project
Id string - Project
Roles List<string>
- Project
Id string - Project
Roles []string
- project
Id String - project
Roles List<String>
- project
Id string - project
Roles string[]
- project_
id str - project_
roles Sequence[str]
- project
Id String - project
Roles List<String>
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlasTerraform Provider.
MongoDB Atlas v4.4.0 published on Thursday, Feb 19, 2026 by Pulumi
