# Update a Document Template

**PATCH** `/templates/{templateId}/`

Update writable fields on a Document Template. Currently only `metadata`
is writable via this endpoint; all other fields (name, roles, fields, etc.)
are managed through the Blueink UI or the template preparation session.

## Request

### Parameters

- `templateId` (path, required, string): The ID that uniquely identifies the Template

### Request Body

- `application/json` — (object)

### Responses

- `200`: The updated Document Template.
  - Content types: `application/json`
- `400`: Bad Request
  - Content types: `application/json`
- `404`: Not found response
  - Content types: `application/json`
