Sha256: c0aa7e4c55d09e7268d148610d83f93a4df683d47ac13372f45a44dbf2e97c78
Contents?: true
Size: 1.35 KB
Versions: 2
Compression:
Stored size: 1.35 KB
Contents
# Update your organization returns "OK" response require "datadog_api_client" api_instance = DatadogAPIClient::V1::OrganizationsAPI.new body = DatadogAPIClient::V1::Organization.new({ billing: DatadogAPIClient::V1::OrganizationBilling.new({ type: "parent_billing", }), description: "some description", name: "New child org", public_id: "abcdef12345", settings: DatadogAPIClient::V1::OrganizationSettings.new({ private_widget_share: false, saml: DatadogAPIClient::V1::OrganizationSettingsSaml.new({ enabled: false, }), saml_autocreate_access_role: DatadogAPIClient::V1::AccessRole::STANDARD, saml_autocreate_users_domains: DatadogAPIClient::V1::OrganizationSettingsSamlAutocreateUsersDomains.new({ domains: [ "example.com", ], enabled: false, }), saml_can_be_enabled: false, saml_idp_endpoint: "https://my.saml.endpoint", saml_idp_initiated_login: DatadogAPIClient::V1::OrganizationSettingsSamlIdpInitiatedLogin.new({ enabled: false, }), saml_idp_metadata_uploaded: false, saml_login_url: "https://my.saml.login.url", saml_strict_mode: DatadogAPIClient::V1::OrganizationSettingsSamlStrictMode.new({ enabled: false, }), }), subscription: DatadogAPIClient::V1::OrganizationSubscription.new({ type: "pro", }), }) p api_instance.update_org("abc123", body)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.10.0 | examples/v1/organizations/UpdateOrg.rb |
datadog_api_client-1.9.0 | examples/v1/organizations/UpdateOrg.rb |