v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
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}

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"
    }
  ]
}