---
title: "Partial update (patch)"
method: POST
path: "/admin-metadata/data_patch/"
tags: ["Admin metadata"]
---

# Partial update (patch)

`POST /admin-metadata/data_patch/`

Apply JSON patch operations to partially update admin metadata.

## Request body

- PatchAdminMetadataData
  - `project_id` string, required — Project ID or IDNO
  - `template_uid` string, required — Admin metadata template UID
  - `patches` object[], required — Array of JSON patch operations (RFC 6902)
    - `op` 'add' | 'remove' | 'replace' | 'move' | 'copy' | 'test', required — Operation type
    - `path` string, required — JSON Pointer path (RFC 6901) to the element to be patched. Example: /metadata_container/metadata_section/options/0/value
    - `value` unknown
    - `from` string — Source path for move or copy operations

## Response `200`

successful operation

## Other responses

- `400` — Bad request - Invalid patch operations or missing required fields

---

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