{
  "opencollection": "1.0.0",
  "info": {
    "name": "Datadog Account Integration API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "DD-API-KEY",
      "value": "{{DD-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Integration",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Datadog Get a List of an Incident's Integration Metadata",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/relationships/integrations",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path",
                "description": "The UUID of the incident."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Get all integration metadata for an incident."
        },
        {
          "info": {
            "name": "Datadog Create an Incident Integration Metadata",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/relationships/integrations",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path",
                "description": "The UUID of the incident."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Create an incident integration metadata."
        },
        {
          "info": {
            "name": "Datadog Get Incident Integration Metadata Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/relationships/integrations/:integration_metadata_id",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path",
                "description": "The UUID of the incident."
              },
              {
                "name": "integration_metadata_id",
                "value": "",
                "type": "path",
                "description": "The UUID of the incident integration metadata."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Get incident integration metadata details."
        },
        {
          "info": {
            "name": "Datadog Update an Existing Incident Integration Metadata",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/relationships/integrations/:integration_metadata_id",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path",
                "description": "The UUID of the incident."
              },
              {
                "name": "integration_metadata_id",
                "value": "",
                "type": "path",
                "description": "The UUID of the incident integration metadata."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Update an existing incident integration metadata."
        },
        {
          "info": {
            "name": "Datadog Delete an Incident Integration Metadata",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/relationships/integrations/:integration_metadata_id",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path",
                "description": "The UUID of the incident."
              },
              {
                "name": "integration_metadata_id",
                "value": "",
                "type": "path",
                "description": "The UUID of the incident integration metadata."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Delete an incident integration metadata."
        },
        {
          "info": {
            "name": "Datadog Create an Aws Integration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/integration/aws/accounts",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new AWS Account Integration Config."
        },
        {
          "info": {
            "name": "Datadog Get an Aws Integration by Config Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/integration/aws/accounts/:aws_account_config_id",
            "params": [
              {
                "name": "aws_account_config_id",
                "value": "",
                "type": "path",
                "description": "Unique Datadog ID of the AWS Account Integration Config. To get the config ID for an account, use the\n[List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations) endpoint and query by AWS Account ID."
              }
            ]
          },
          "docs": "Get an AWS Account Integration Config by config ID."
        },
        {
          "info": {
            "name": "Datadog Update an Aws Integration",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{subdomain}.{site}/api/v2/integration/aws/accounts/:aws_account_config_id",
            "params": [
              {
                "name": "aws_account_config_id",
                "value": "",
                "type": "path",
                "description": "Unique Datadog ID of the AWS Account Integration Config. To get the config ID for an account, use the\n[List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations) endpoint and query by AWS Account ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an AWS Account Integration Config by config ID."
        },
        {
          "info": {
            "name": "Datadog Delete an Aws Integration",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.{site}/api/v2/integration/aws/accounts/:aws_account_config_id",
            "params": [
              {
                "name": "aws_account_config_id",
                "value": "",
                "type": "path",
                "description": "Unique Datadog ID of the AWS Account Integration Config. To get the config ID for an account, use the\n[List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations) endpoint and query by AWS Account ID."
              }
            ]
          },
          "docs": "Delete an AWS Account Integration Config by config ID."
        }
      ]
    }
  ],
  "bundled": true
}