The type of billing. Only parent_billing is supported.
created
string
Date of the organization creation.
description
string
Description of the organization.
name
string
The name of the child organization, limited to 32 characters.
public_id
string
The public_id of the organization you are operating within.
settings
object
A JSON array of settings.
private_widget_share
boolean
Whether or not the organization users can share widgets outside of Datadog.
saml
object
Set the boolean property enabled to enable or disable single sign on with SAML.
See the SAML documentation for more information about all SAML settings.
enabled
boolean
Whether or not SAML is enabled for this organization.
saml_autocreate_access_role
enum
The access role of the user. Options are st (standard user), adm (admin user), or ro (read-only user).
Allowed enum values: st,adm,ro,ERROR
saml_autocreate_users_domains
object
Has two properties, enabled (boolean) and domains, which is a list of domains without the @ symbol.
domains
[string]
List of domains where the SAML automated user creation is enabled.
enabled
boolean
Whether or not the automated user creation based on SAML domain is enabled.
saml_can_be_enabled
boolean
Whether or not SAML can be enabled for this organization.
saml_idp_endpoint
string
Identity provider endpoint for SAML authentication.
saml_idp_initiated_login
object
Has one property enabled (boolean).
enabled
boolean
Whether SAML IdP initiated login is enabled, learn more
in the SAML documentation.
saml_idp_metadata_uploaded
boolean
Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
saml_login_url
string
URL for SAML logging.
saml_strict_mode
object
Has one property enabled (boolean).
enabled
boolean
Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
Learn more on the SAML Strict documentation.
subscription
object
DEPRECATED: Subscription definition.
type
string
The subscription type. Types available are trial, free, and pro.
trial
boolean
Only available for MSP customers. Allows child organizations to be created on a trial plan.
"""
List your managed organizations returns "OK" response
"""fromdatadog_api_clientimportApiClient,Configurationfromdatadog_api_client.v1.api.organizations_apiimportOrganizationsApiconfiguration=Configuration()withApiClient(configuration)asapi_client:api_instance=OrganizationsApi(api_client)response=api_instance.list_orgs()print(response)
# List your managed organizations returns "OK" responserequire"datadog_api_client"api_instance=DatadogAPIClient::V1::OrganizationsAPI.newpapi_instance.list_orgs()
// List your managed organizations returns "OK" responsepackagemainimport("context""encoding/json""fmt""os""github.com/DataDog/datadog-api-client-go/v2/api/datadog""github.com/DataDog/datadog-api-client-go/v2/api/datadogV1")funcmain(){ctx:=datadog.NewDefaultContext(context.Background())configuration:=datadog.NewConfiguration()apiClient:=datadog.NewAPIClient(configuration)api:=datadogV1.NewOrganizationsApi(apiClient)resp,r,err:=api.ListOrgs(ctx)iferr!=nil{fmt.Fprintf(os.Stderr,"Error when calling `OrganizationsApi.ListOrgs`: %v\n",err)fmt.Fprintf(os.Stderr,"Full HTTP response: %v\n",r)}responseContent,_:=json.MarshalIndent(resp,""," ")fmt.Fprintf(os.Stdout,"Response from `OrganizationsApi.ListOrgs`:\n%s\n",responseContent)}
// List your managed organizations returns "OK" response
usedatadog_api_client::datadog;usedatadog_api_client::datadogV1::api_organizations::OrganizationsAPI;#[tokio::main]asyncfnmain(){letconfiguration=datadog::Configuration::new();letapi=OrganizationsAPI::with_config(configuration);letresp=api.list_orgs().await;ifletOk(value)=resp{println!("{:#?}",value);}else{println!("{:#?}",resp.unwrap_err());}}
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_API_KEY="<API-KEY>"DD_APP_KEY="<APP-KEY>"cargo run
/**
* List your managed organizations returns "OK" response
*/import{client,v1}from"@datadog/datadog-api-client";constconfiguration=client.createConfiguration();constapiInstance=newv1.OrganizationsApi(configuration);apiInstance.listOrgs().then((data: v1.OrganizationListResponse)=>{console.log("API called successfully. Returned data: "+JSON.stringify(data));}).catch((error: any)=>console.error(error));
"""
List your managed organizations returns "OK" response
"""fromdatadog_api_clientimportApiClient,Configurationfromdatadog_api_client.v2.api.organizations_apiimportOrganizationsApiconfiguration=Configuration()withApiClient(configuration)asapi_client:api_instance=OrganizationsApi(api_client)response=api_instance.list_orgs()print(response)
# List your managed organizations returns "OK" responserequire"datadog_api_client"api_instance=DatadogAPIClient::V2::OrganizationsAPI.newpapi_instance.list_orgs()
// List your managed organizations returns "OK" responsepackagemainimport("context""encoding/json""fmt""os""github.com/DataDog/datadog-api-client-go/v2/api/datadog""github.com/DataDog/datadog-api-client-go/v2/api/datadogV2")funcmain(){ctx:=datadog.NewDefaultContext(context.Background())configuration:=datadog.NewConfiguration()apiClient:=datadog.NewAPIClient(configuration)api:=datadogV2.NewOrganizationsApi(apiClient)resp,r,err:=api.ListOrgs(ctx,*datadogV2.NewListOrgsOptionalParameters())iferr!=nil{fmt.Fprintf(os.Stderr,"Error when calling `OrganizationsApi.ListOrgs`: %v\n",err)fmt.Fprintf(os.Stderr,"Full HTTP response: %v\n",r)}responseContent,_:=json.MarshalIndent(resp,""," ")fmt.Fprintf(os.Stdout,"Response from `OrganizationsApi.ListOrgs`:\n%s\n",responseContent)}
// List your managed organizations returns "OK" response
usedatadog_api_client::datadog;usedatadog_api_client::datadogV2::api_organizations::ListOrgsOptionalParams;usedatadog_api_client::datadogV2::api_organizations::OrganizationsAPI;#[tokio::main]asyncfnmain(){letconfiguration=datadog::Configuration::new();letapi=OrganizationsAPI::with_config(configuration);letresp=api.list_orgs(ListOrgsOptionalParams::default()).await;ifletOk(value)=resp{println!("{:#?}",value);}else{println!("{:#?}",resp.unwrap_err());}}
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_API_KEY="<DD_API_KEY>"DD_APP_KEY="<DD_APP_KEY>"cargo run
/**
* List your managed organizations returns "OK" response
*/import{client,v2}from"@datadog/datadog-api-client";constconfiguration=client.createConfiguration();constapiInstance=newv2.OrganizationsApi(configuration);apiInstance.listOrgs().then((data: v2.ManagedOrgsResponse)=>{console.log("API called successfully. Returned data: "+JSON.stringify(data));}).catch((error: any)=>console.error(error));