---
title: "Modify Custom Field Template"
method: PUT
path: "/v3/custom-fields/template/{templateId}/modify"
tags: ["[v3] Custom Fields"]
---

# Modify Custom Field Template

`PUT /v3/custom-fields/template/{templateId}/modify`

Modify Custom Field Template

## Path parameters

- `templateId` integer, required

## Headers

- `Accept` string
- `Content-Type` string

## Request body

- object
  - `name` string — Name of the custom field template
  - `required` boolean — Whether this field is required
  - `status` integer — Status of the template
  - `defaultValue` string, nullable — Default value for the field (must match field type), must be provided if field is required
  - `fieldOptions` object[], nullable — Configuration options for the field

## Response `200`

Custom field template modified successfully

- object
  - `data` object
    - `id` integer — ID of the created template
    - `name` string — Name of the template
    - `resourceType` string — Resource type
    - `required` boolean — Whether the field is required
    - `status` integer — Template status
    - `fieldType` string — Field type
    - `defaultValue` string, nullable — Default value
    - `fieldOptions` object[], nullable — Field options

## Other responses

- `400` — Bad Request - Validation errors
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/timecamp/apis/timecamp-api.md) · [All operations](https://skmtc.net/timecamp/apis/timecamp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/timecamp/timecamp-api/versions/c7e9d1f9cf61/schema)
