---
title: "템플릿 메타데이터 변경"
method: PUT
path: "/templates/{templateId}/metadatas"
tags: ["USER API"]
---

# 템플릿 메타데이터 변경

`PUT /templates/{templateId}/metadatas`

기존의 메타데이터를 인자로 받은 메타데이터로 모두 대체합니다.  
빈 배열일 경우 기존 메타데이터를 모두 삭제합니다.

## Path parameters

- `templateId` string, required

## Request body

- UpdateTemplateMetadataRequestDto
  - `metadatas` TemplateMetadataRequestDto[], required — 메타데이터 리스트. 기존 리스트를 대체합니다. 최대 10개까지 등록 가능 (응답의 메타데이터는 순서가 보장되지 않습니다)
    - `key` string, required — 메타데이터 키
    - `value` string — 메타데이터 값

## Response `200`

- UpdateTemplateMetadataResponseDto
  - `metadatas` TemplateMetadataResponseDto[], required — 메타데이터 리스트
    - `key` string, required — 메타데이터 키
    - `value` string, required — 메타데이터 값

---

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