Sha256: 53ea784dc94c0fe54ab142bdeba992fc36d90ca1a45ab101c97f09c5911f25e1
Contents?: true
Size: 638 Bytes
Versions: 15
Compression:
Stored size: 638 Bytes
Contents
# Create a team with V2 fields returns "CREATED" response require "datadog_api_client" api_instance = DatadogAPIClient::V2::TeamsAPI.new body = DatadogAPIClient::V2::TeamCreateRequest.new({ data: DatadogAPIClient::V2::TeamCreate.new({ attributes: DatadogAPIClient::V2::TeamCreateAttributes.new({ handle: "test-handle-a0fc0297eb519635", name: "test-name-a0fc0297eb519635", avatar: "🥑", banner: 7, visible_modules: [ "m1", "m2", ], hidden_modules: [ "m3", ], }), type: DatadogAPIClient::V2::TeamType::TEAM, }), }) p api_instance.create_team(body)
Version data entries
15 entries across 15 versions & 1 rubygems