---
title: "Set document properties"
method: PATCH
path: "/{judgmentUri}/metadata"
tags: ["Writing"]
---

# Set document properties

`PATCH /{judgmentUri}/metadata`

## Request

- Base URL: `https://api.caselaw.nationalarchives.gov.uk/v1`
- URL: `https://api.caselaw.nationalarchives.gov.uk/v1/{judgmentUri}/metadata`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/the-national-archives/apis/case-law-privileged-api/docs/:judgmentUri/metadata/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `judgmentUri` string, required

## Response `200`

OK

---

[API](https://skmtc.dev/the-national-archives/apis/case-law-privileged-api.md) - [All operations](https://skmtc.dev/the-national-archives/apis/case-law-privileged-api/llms.txt) - [OpenAPI document](https://skmtc.dev/the-national-archives/apis/case-law-privileged-api/revisions/78e91c464b05?raw)
