**Source URL:** https://limited.veevavault.dev/vault-api/api-reference/17.3/documents/document-templates/bulk-update-document-templates.md

# Bulk Update Document Templates



Update from 1-500 document templates to your Vault.

<Endpoint path="/api/{version}/objects/documents/templates" method="PUT"></Endpoint>

## Headers {#headers}

<FieldTable>
| Name | Description |
| --- | --- |
| `Content-Type` | `application/json` or `text/csv` |
| `Accept` | `application/json` (default) or `application/xml` |
</FieldTable>

## Body Parameters {#body-parameters}

You can update the following fields on document templates:

<FieldTable>
| Name | Description |
| --- | --- |
| `name__v` | Change the name of an existing document template. |
| `label__v` | Change the label of an existing document template. This is the name users will see among the available binder templates in the UI. |
| `active__v` | Set to true or false to indicate whether or not the document templates should be set to active, i.e., available for selection when creating a document. |
</FieldTable>

## Example CSV Input {#example-csv-input}

See [Bulk Create Document Templates](/vault-api/api-reference/17.3/documents/document-templates/bulk-create-document-templates) for example inputs, which are the same as those used in this request.

## Request {#request}

<CodeExample title="">
```
curl -X PUT -H "Authorization: {SESSION_ID}" \
-H "Content-Type: text/csv" \
--data-binary @"C:\Vault\Templates\update_document_templates.csv" \
https://myvault.veevavault.com/api/v15.0/objects/documents/templates

```
</CodeExample>

## Response {#response}

<CodeExample title="">
```
{
   "responseStatus":"SUCCESS",
   "data":[
      {
         "responseStatus":"SUCCESS",
         "name":"claim_document_template__c"
      },
      {
         "responseStatus":"SUCCESS",
         "name":"clinical_study_document_template__c"
      },
      {
         "responseStatus":"FAILURE",
         "errors":[
            {
               "type":"INVALID_DATA",
               "message":"Error message describing why this template was not created."
            }
         ]
      }
   ]
}

```
</CodeExample>

---

**Previous:** [Update Document Template](/vault-api/api-reference/17.3/documents/document-templates/update-document-template)  
**Next:** [Delete Document Template](/vault-api/api-reference/17.3/documents/document-templates/delete-document-template)