Cloud Cost Management

Update Cloud Cost Management AWS CUR config

Update the status (active/archived) and/or account filtering configuration of an AWS CUR config.

patch/api/v2/cost/aws_cur_config/{cloud_account_id}

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/cost/aws_cur_config/{cloud_account_id}
  • Auth
    • API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
    • or OAuth 2
      Authorization code: /oauth2/v1/authorize
      Token URL: /oauth2/v1/token scopes: cloud_cost_management_write

Path parameters

cloud_account_idinteger required

Cloud Account id.

Request body

Example request

{
  "data": {
    "attributes": {
      "account_filters": {
        "excluded_accounts": [
          "123456789123",
          "123456789143"
        ],
        "include_new_accounts": true,
        "included_accounts": [
          "123456789123",
          "123456789143"
        ]
      },
      "is_enabled": true
    },
    "type": "aws_cur_config_patch_request"
  }
}

Response

OK

Example response

{
  "data": [
    {
      "attributes": {
        "account_filters": {
          "excluded_accounts": [
            "123456789123",
            "123456789143"
          ],
          "include_new_accounts": true,
          "included_accounts": [
            "123456789123",
            "123456789143"
          ]
        },
        "account_id": "123456789123",
        "bucket_name": "dd-cost-bucket",
        "bucket_region": "us-east-1",
        "report_name": "dd-report-name",
        "report_prefix": "dd-report-prefix",
        "status": "active"
      },
      "type": "aws_cur_config"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.