---
title: "Update an Asset Group"
method: PUT
path: "/app/v1/asset_groups/{id}"
tags: ["asset_groups"]
---

# Update an Asset Group

`PUT /app/v1/asset_groups/{id}`

## Path parameters

- `id` string, uuid, required

## Request body

- AssetGroupUpdate
  - `name` string
  - `status` 'active' | 'inactive'
  - `custom_attributes` CustomAttributes
  - `start_date` union — Start date of attributes. If start_date is provided and end_date is not provided, it defaults to the range [start_date, max]. If both start_date and end_date are not provided, it defaults to the range [current year month, next existing year month - 1]
    - string — Year month formatted as YYYYMM
    - 'min' | 'max' — Year month shorthand
  - `end_date` union — End date of attributes. If end_date is provided and start_date is not provided, it defaults to the range [min, start_date]. If both start_date and end_date are not provided, it defaults to the range [current year month, next existing year month - 1]
    - string — Year month formatted as YYYYMM
    - 'min' | 'max' — Year month shorthand

## Response `200`

A successful operation

- AssetGroup
  - `name` string
  - `status` 'active' | 'inactive'
  - `asset_group_type_id` 'network'
  - `default_network_reporting_group_id` string
  - `default_network_reporting_group` ReportingGroupInput
    - `name` string
    - `description` string
    - `priority` number — default to 1
    - `id` string
  - `default_estimation_method_id` string, uuid
  - `default_estimation_method` EstimationMethodResponse
    - `id` string, uuid, required
    - `company_id` string, uuid, required
    - `asset_id` string, uuid, required
    - `analytics_library_id` string, required
    - `analytics_calculator_id` string, required
    - `name` string, required
    - `status` 'active' | 'inactive', required
    - `default_values` object, required
    - `default_asset_values` object, required
    - `created_at` union, required
      - string, date-time
      - string, nullable
      - unknown
    - `updated_at` union, required
      - string, date-time
      - string, nullable
      - unknown
    - `created_by` string, uuid, required
    - `updated_by` string, uuid, required
  - `id` string, uuid
  - `company_id` string, uuid
  - `created_at` string, date-time
  - `created_by` string, uuid
  - `updated_at` string, date-time
  - `updated_by` string, uuid
  - `custom_attributes` CustomAttributes

---

[API](https://skmtc.net/validere/apis/carbonhub-api.md) · [All operations](https://skmtc.net/validere/apis/carbonhub-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/validere/carbonhub-api/revisions/053edab62415/schema)
