UpdateOrganizationSettings
Updates an organization's settings, such as the default stack permission level for new members, whether members can create teams, and other organization-wide configuration options. Returns the updated organization metadata.
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}
- Auth: none declared
Path parameters
The organization name
Request body
The AI enablement setting for the organization.
The new default account permission for the organization.
The ID of the default agent pool for the organization. Set to empty string to revert to the Pulumi Hosted Pool.
The ID of the default deployment role. When set, this role is applied to all deployments that do not have a role explicitly configured in their stack deployment settings. Set to an empty string to clear the default.
The new default environment permission for the organization.
The new default stack permission for the organization.
The maximum allowed access token expiry, in days, for personal, organization, and team access tokens used against this organization. A value of 0 clears the policy (the prior default behavior, in which tokens may have any expiry or no expiry). A positive value requires every token to have an expiry, and the token's total lifetime (from creation to expiry) must not exceed this many days. Web sessions and system-managed tokens (deployment runners, agent pools, stack tokens) are not subject to this policy. Leave the field unset to make no change to the existing policy value.
Whether members can create accounts.
Whether members can create stacks.
Whether members can create teams.
Whether members can delete stacks.
Whether members can invite collaborators.
Whether members can transfer stacks.
Whether natural-language resource search is disabled for the organization. Independent of setNeoEnabled; if the master is disabled, this flag has no additional effect.
Whether the Neo agent is disabled for the organization. Independent of setNeoEnabled; if the master is disabled, this flag has no additional effect.
The default approval mode for Neo tasks.
Whether Neo CLI explanations (preview and update-failure explanations served to the CLI) are disabled for the organization. Independent of setNeoEnabled; if the master is disabled, this flag has no additional effect.
Whether Neo is enabled for the organization.
The task sharing mode for Neo.
The preferred VCS provider for the organization.
Response
OK
AccountCount is the current number of Insights Accounts in the organization. (May be more than the requesting user has permission to see.)
The AI feature enablement status for the organization (e.g. enabled, disabled, opt-in).
Deprecated. Access the AuditLogsEnabled feature from the Features property.
The login name of the backing organization on the identity provider.
The time the organization was created.
DefaultAccountPermission is the default permission every member has for accessing the organization's insight accounts.
DefaultDeploymentRoleID is the ID of the default role used for deployments when no specific role is configured in the stack's deployment settings. If unset, deployments run using the triggering user's own permissions.
DefaultEnvironmentPermission is the default permission every member has for accessing the organization's environments.
DefaultRoleID is the ID of the default role for new users added to the organization. If unset, defaults to the "Member" role.
DefaultStackPermission is the default permission every member has for accessing the organization's stacks.
EnvironmentCount is the current number of environments in the organization. (May be more than the requesting user has permission to see.)
The unique identifier of the organization.
true if accepted, false if denied, nil if no action taken
The Unix timestamp when the Insights trial ends.
true if org needs to be upgraded to business critical
The kind of backing identity provider for the organization.
Locked is non-nil if an organization is locked, indicating the specific reason why it was locked. (Which may determine which actions are available in the Console.)
The maximum allowed access token expiry, in days, for personal, organization, and team access tokens used against this organization. Null means no policy (the default behavior, in which tokens may have any expiry or no expiry). When set, requires every token to have an expiry, and the token's total lifetime (from creation to expiry) must not exceed this many days. Web sessions and system-managed tokens are not subject to this policy.
MaxMembers is the maximum number of members the organization can have based on its subscription. (Only set for per-member billed orgs.)
MaxStacks is the maximum number of stacks the organization can have based on its subscription. Will be nil/omitted if there is no limit.
MemberCount is the number of members the organization has. Will be incorrect for organizations on the TeamPerStack subscription plan.
Whether organization members can create Insights accounts.
Whether organization members can create stacks.
Whether organization members can create teams.
Whether organization members can delete stacks.
Whether organization members can transfer stacks.
Whether natural-language resource search is disabled for the organization. Independent of neoEnabled; if neoEnabled is false, this flag has no additional effect.
Whether the Neo agent is disabled for the organization. Independent of neoEnabled; if neoEnabled is false, this flag has no additional effect.
neoApprovalMode is the default approval mode for new Neo AI agent tasks.
Whether Neo CLI explanations (preview and update-failure explanations served to the CLI) are disabled for the organization. Independent of neoEnabled; if neoEnabled is false, this flag has no additional effect.
Whether Neo AI agent features are enabled for the organization.
NeoTaskSharingMode is the task sharing mode for Neo AI agents in the organization.
The time when the subscription entered past-due status, if applicable. Present only when the subscription is past due and the auto-lock grace period is active.
The organization's preferred VCS vendor.
Subscription-related information if the organization has a Pulumi subscription. Otherwise, assume it is a grandfathered TeamPerStack org or in the Community Edition.
The time when the organization's active retrial expires, if it is on a retrial.
The plan whose features the organization's active retrial grants, if it is on a retrial. The product field keeps reporting the plan the organization is subscribed to.
StackCount is the current number of stacks in the organization. (May be more than the requesting user has permission to see.)
Whether the subscription will be canceled at the end of the current billing period.
The time when the current subscription or license period ends. For SaaS subscriptions this is the Stripe billing period end. For self-hosted installations this is the license expiry date.
The Stripe subscription status (e.g. active, past_due, canceled), if applicable.
The Unix timestamp when the subscription trial ends.
UserRole is the requesting user's role in the organization.
Deprecated. Access the WebhooksEnabled feature from the Features property.
Changes
No recorded changes to this operation across all 1 revision of this API.