@@ -6513,6 +6513,117 @@ paths:
65136513 seo :
65146514 title : ' _t__TemplateDelete::SEO::TITLE'
65156515 description : ' _t__TemplateDelete::SEO::DESCRIPTION'
6516+ ' /template/edit/{template_id} ' :
6517+ post :
6518+ tags :
6519+ - Template
6520+ summary : ' _t__TemplateEdit::SUMMARY'
6521+ description : ' _t__TemplateEdit::DESCRIPTION'
6522+ operationId : templateEdit
6523+ parameters :
6524+ -
6525+ name : template_id
6526+ in : path
6527+ description : ' _t__TemplateEdit::TEMPLATE_ID'
6528+ required : true
6529+ schema :
6530+ type : string
6531+ example : f57db65d3f933b5316d398057a36176831451a35
6532+ requestBody :
6533+ required : true
6534+ content :
6535+ application/json :
6536+ schema :
6537+ $ref : ' #/components/schemas/TemplateEditRequest'
6538+ examples :
6539+ example :
6540+ $ref : ' #/components/examples/TemplateEditRequest'
6541+ responses :
6542+ ' 200 ' :
6543+ description : ' successful operation'
6544+ headers :
6545+ X-RateLimit-Limit :
6546+ $ref : ' #/components/headers/X-RateLimit-Limit'
6547+ X-RateLimit-Remaining :
6548+ $ref : ' #/components/headers/X-RateLimit-Remaining'
6549+ X-Ratelimit-Reset :
6550+ $ref : ' #/components/headers/X-Ratelimit-Reset'
6551+ content :
6552+ application/json :
6553+ schema :
6554+ $ref : ' #/components/schemas/TemplateGetResponse'
6555+ examples :
6556+ example :
6557+ $ref : ' #/components/examples/TemplateGetResponse'
6558+ 4XX :
6559+ description : failed_operation
6560+ content :
6561+ application/json :
6562+ schema :
6563+ $ref : ' #/components/schemas/ErrorResponse'
6564+ examples :
6565+ 400_example :
6566+ $ref : ' #/components/examples/Error400Response'
6567+ 401_example :
6568+ $ref : ' #/components/examples/Error401Response'
6569+ 402_example :
6570+ $ref : ' #/components/examples/Error402Response'
6571+ 403_example :
6572+ $ref : ' #/components/examples/Error403Response'
6573+ 429_example :
6574+ $ref : ' #/components/examples/Error429Response'
6575+ 404_example :
6576+ $ref : ' #/components/examples/Error404Response'
6577+ 409_example :
6578+ $ref : ' #/components/examples/Error409Response'
6579+ 4XX_example :
6580+ $ref : ' #/components/examples/Error4XXResponse'
6581+ security :
6582+ -
6583+ api_key : []
6584+ -
6585+ oauth2 :
6586+ - template_access
6587+ x-codeSamples :
6588+ -
6589+ lang : PHP
6590+ label : PHP
6591+ source :
6592+ $ref : examples/TemplateEditExample.php
6593+ -
6594+ lang : ' C#'
6595+ label : ' C#'
6596+ source :
6597+ $ref : examples/TemplateEditExample.cs
6598+ -
6599+ lang : TypeScript
6600+ label : TypeScript
6601+ source :
6602+ $ref : examples/TemplateEditExample.ts
6603+ -
6604+ lang : Java
6605+ label : Java
6606+ source :
6607+ $ref : examples/TemplateEditExample.java
6608+ -
6609+ lang : Ruby
6610+ label : Ruby
6611+ source :
6612+ $ref : examples/TemplateEditExample.rb
6613+ -
6614+ lang : Python
6615+ label : Python
6616+ source :
6617+ $ref : examples/TemplateEditExample.py
6618+ -
6619+ lang : cURL
6620+ label : cURL
6621+ source :
6622+ $ref : examples/TemplateEditExample.sh
6623+ x-meta :
6624+ seo :
6625+ title : ' _t__TemplateEdit::SEO::TITLE'
6626+ description : ' _t__TemplateEdit::SEO::DESCRIPTION'
65166627 ' /template/files/{template_id} ' :
65176628 get :
65186629 tags :
@@ -10179,6 +10290,17 @@ components:
1017910290 type : boolean
1018010291 default : false
1018110292 type : object
10293+ TemplateEditRequest :
10294+ properties :
10295+ cc_roles :
10296+ description : ' _t__TemplateEdit::CC_ROLES'
10297+ type : array
10298+ items :
10299+ type : string
10300+ allow_form_view :
10301+ description : ' _t__TemplateEdit::ALLOW_FORM_VIEW'
10302+ type : boolean
10303+ type : object
1018210304 TemplateRemoveUserRequest :
1018310305 properties :
1018410306 account_id :
@@ -12767,14 +12889,6 @@ components:
1276712889 $ref : ' #/components/schemas/WarningResponse'
1276812890 type : object
1276912891 x-internal-class : true
12770- TemplateEditResponse :
12771- required :
12772- - template_id
12773- properties :
12774- template_id :
12775- description : ' _t__TemplateResponse::TEMPLATE_ID'
12776- type : string
12777- type : object
1277812892 TemplateGetResponse :
1277912893 required :
1278012894 - template
@@ -13098,6 +13212,10 @@ components:
1309813212 summary : ' Form Fields Per Document and Rules Example'
1309913213 value :
1310013214 $ref : examples/json/TemplateCreateEmbeddedDraftRequestFormFieldRules.json
13215+ TemplateEditRequest :
13216+ summary : ' Default Example'
13217+ value :
13218+ $ref : examples/json/TemplateEditRequest.json
1310113219 TemplateRemoveUserRequest :
1310213220 summary : ' Default Example'
1310313221 value :
0 commit comments