> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eazecustoms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update template group

> Update fields or templates within an existing template group.

Update template group details. Only fields provided in the body will be changed.

### Path parameters

<ParamField path="id" type="number" required>
  The unique template group ID.
</ParamField>

### Request payload

<ParamField body="name" type="string">
  Updated template group name.
</ParamField>

<ParamField body="code" type="string">
  Updated unique short code for the template group.
</ParamField>

<ParamField body="isDefault" type="boolean">
  Updated default status.
</ParamField>

```json JSON Payload theme={null}
{
  "name": "testing external api",
  "code": "IMP-NEW-CODE",
  "isDefault": false
}
```

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "id": 1,
    "name": "testing external api",
    "code": "IMP-NEW-CODE",
    "isDefault": false,
    "updatedAt": "2026-06-22T10:05:00.000Z"
  }
  ```
</ResponseExample>
