Sha256: d75d7c248efe8aa471098287c5ae66130c38eb9e493d99803cb004cff3cff842
Contents?: true
Size: 604 Bytes
Versions: 19
Compression:
Stored size: 604 Bytes
Contents
# Create a new incident team returns "CREATED" response require "datadog_api_client" DatadogAPIClient.configure do |config| config.unstable_operations["v2.create_incident_team".to_sym] = true end api_instance = DatadogAPIClient::V2::IncidentTeamsAPI.new body = DatadogAPIClient::V2::IncidentTeamCreateRequest.new({ data: DatadogAPIClient::V2::IncidentTeamCreateData.new({ type: DatadogAPIClient::V2::IncidentTeamType::TEAMS, attributes: DatadogAPIClient::V2::IncidentTeamCreateAttributes.new({ name: "Example-Incident-Team", }), }), }) p api_instance.create_incident_team(body)
Version data entries
19 entries across 19 versions & 1 rubygems