Skip to main content
PATCH
/
declaration-templates
/
groups
/
{id}
Update template group
curl --request PATCH \
  --url https://sandbox-api.easecustoms.com/declaration-templates/groups/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "isDefault": true
}
'
{
  "id": 101,
  "name": "Standard Import Templates v2",
  "code": "STD_IMP_GRP",
  "isDefault": true,
  "updatedAt": "2026-06-22T10:05:00.000Z"
}
Update template group details.

Path Parameters

id
number
required
The unique template group ID.

Request Payload

name
string
Updated template group name.
isDefault
boolean
Updated default status.
JSON Payload
{
  "name": "Standard Import Templates v2"
}
{
  "id": 101,
  "name": "Standard Import Templates v2",
  "code": "STD_IMP_GRP",
  "isDefault": true,
  "updatedAt": "2026-06-22T10:05:00.000Z"
}