Skip to content
Start here

Organization Accounts

List organization accounts
client.Organizations.OrganizationAccounts.Get(ctx, organizationID, params) (*[]OrganizationAccountGetResponse, error)
GET/organizations/{organization_id}/accounts
ModelsExpand Collapse
type OrganizationAccounts struct{…}
ID string

Identifier

maxLength32
minLength32
Name string

Account name

Type OrganizationAccountsType
One of the following:
const OrganizationAccountsTypeStandard OrganizationAccountsType = "standard"
const OrganizationAccountsTypeEnterprise OrganizationAccountsType = "enterprise"
CreatedOn TimeOptional

Timestamp for the creation of the account

formatdate-time
LegacyFlags OrganizationAccountsLegacyFlagsOptional

Legacy account flags.

EnterpriseZoneQuota OrganizationAccountsLegacyFlagsEnterpriseZoneQuotaOptional

Enterprise zone quota for standard and enterprise accounts. Accounts without a quota have a maximum of 0.

Available int64Optional

Number of additional Enterprise zones available. Returns 0 if the quota is not allocated or is exhausted.

Current int64Optional

Current number of Enterprise zones.

Maximum int64Optional

Maximum number of Enterprise zones allowed.

ManagedBy OrganizationAccountsManagedByOptional

Parent container details

ParentOrgID stringOptional

ID of the parent Organization, if one exists

maxLength32
ParentOrgName stringOptional

Name of the parent Organization, if one exists

RootOrgID stringOptional

ID of the root Organization, if one exists

maxLength32
ShouldDisplayParentOrgs boolOptional

Indicates whether the parent Organization hierarchy should be displayed

Settings OrganizationAccountsSettingsOptional

Account settings

AbuseContactEmail stringOptional

Sets an abuse contact email to notify for abuse reports.

EnforceTwofactor boolOptional

Indicates whether membership in this account requires that Two-Factor Authentication is enabled