Sha256: a6202dd64d7b482da3aa880be57a7d47982faee8d9270130a658e93da6915eb8
Contents?: true
Size: 634 Bytes
Versions: 2
Compression:
Stored size: 634 Bytes
Contents
# Add Okta account returns "OK" response require "datadog_api_client" api_instance = DatadogAPIClient::V2::OktaIntegrationAPI.new body = DatadogAPIClient::V2::OktaAccountRequest.new({ data: DatadogAPIClient::V2::OktaAccount.new({ attributes: DatadogAPIClient::V2::OktaAccountAttributes.new({ auth_method: "oauth", domain: "https://example.okta.com/", name: "Okta_Prod", client_id: "client_id", client_secret: "client_secret", }), id: "f749daaf-682e-4208-a38d-c9b43162c609", type: DatadogAPIClient::V2::OktaAccountType::OKTA_ACCOUNTS, }), }) p api_instance.create_okta_account(body)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-2.19.0 | examples/v2/okta-integration/CreateOktaAccount.rb |
datadog_api_client-2.18.0 | examples/v2/okta-integration/CreateOktaAccount.rb |