# 更新素材分组

更新素材分组的名称或描述。仅可修改当前用户拥有的分组。

## PUT /v1/asset-groups/{groupId}

> Update asset group

Update the name or description of an asset group. Only groups owned by the current user can be modified.

### Authentication

`Authorization: Bearer tr-xxx`

### Path Parameters

- **groupId** `string` **(required)**  
  Asset group ID

### Request Body

Content-Type: `application/json`

- **name** `string`  
  New group name
- **description** `string`  
  New group description

### Response

- **Id** `string`  
  Asset group ID
- **Name** `string`  
  Group name
- **Description** `string`  
  Group description
- **GroupType** ``AIGC``  
  Group type, fixed value `AIGC`
- **CreateTime** `string`  
  Creation time
- **UpdateTime** `string`  
  Last updated time

### Error Codes

- `400`: 
- `401`: 
- `404`: Group not found or does not belong to the current user
- `429`:
