Skip to content

Update a single document template in your Vault.

PUT/api/{version}/objects/documents/templates/{template_name}
NameDescription
Acceptapplication/json (default) or application/xml
NameDescription
{template_name}The document template name__v field value.

You can update the following fields on document templates:

curl -X PUT -H "Authorization: {SESSION_ID}" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Accept: application/json" \ -d "name__v=promo_ad_web_document_template__c" \ -d "label__v=Promo Ad Web Document Template" \ -d "active__v=true" \ https://myvault.veevavault.com/api/v23.2/objects/documents/templates/promo_ad_print_document_template__c
responseStatus,name,errors SUCCESS,promo_ad_web_document_template__c,