Files
OpenSign/assets/js/5ce6d213.2dd0ae0e.js
T

1 line
13 KiB
JavaScript

"use strict";(globalThis.webpackChunkOpenSign_Docs=globalThis.webpackChunkOpenSign_Docs||[]).push([[3460],{32779(e,t,i){i.r(t),i.d(t,{assets:()=>y,contentTitle:()=>g,default:()=>x,frontMatter:()=>b,metadata:()=>a,toc:()=>v});const a=JSON.parse('{"id":"API-docs/v1.1/update-template","title":"Update Template","description":"The Update Template API enables you to modify and update the details of a specific template.","source":"@site/docs/API-docs/v1.1/update-template.api.mdx","sourceDirName":"API-docs/v1.1","slug":"/API-docs/v1.1/update-template","permalink":"/docs/API-docs/v1.1/update-template","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","frontMatter":{"id":"update-template","title":"Update Template","description":"The Update Template API enables you to modify and update the details of a specific template.","sidebar_label":"Update Template","hide_title":true,"hide_table_of_contents":true,"api":"eJzFWc2OG7kRfpUKL7aFHkn+XUSnnXgd21jDFjwzMJLxQGA3S2rusEkuyZZGGAjYQ94gp1zzaH6SoMjuVuvHY3vXSS67HnZVsf75VemWBb7wbHLJzrGyigf07CpjAn3hpA3SaDZh5yXChRU8ILRUcDp9Dah5rtDD2tQQDFRGyPkauBZQJ+pQIggMXCoPZg4cvMVCzmUBoZEzZBkzFh2nq14LNmGJtb2HZcxyxysM6EjNW6Z5hWzCWgEzKVjGJKlpeSjZvu6vf6KbSZGWA0LJA2hE4UnrHBttSY7DX2vpULBJcDVmzIe1otu8rKwiZfDGKiOQTeZceSIoSqw4m9yysLaRMjipFyxjc+MqHrYnm81Vko8+/MWINfHsqjp1ZikFQo7KrKAzm5Rs/dnGCO7zAAq5D2A09mhbAx6wjBVGB9SBLuLWKllEJ49+8XTb7aHqJv8Fi0AedxSSINHT1+TwLxtIzuHRTRPm4z86fdkmY9qEbxYzJRMRHC4lrmJiebnQEErpQZiirsi8zV7Iv+2KLiv6MjbEowQ6yshDeVtuokxV8O582iPNjVHI9UE2UlbBSTLAxENYSaWaSoJ351NYoq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YPBtM6VLLoluB8MJvCc5qf+ajaulwuuaWT3JadUovUcB5u4ldTXQzjV67hB2448dB75dsyIjbYNt48rizjf9Dfaw61GcdD2qJboSRaBkRwBhSR8HUpn6kW6ra9MY5zDOc0IH9KWh2w7FQJsc9wuf2io36qDc5OWFWvgDsHH/c10jyV+qa01jrRotkdz0y4SUQtrpA5+AsLxedjKz/bG1LiAPDhKLuSdO7JGTBeSVImNxd0pDTTZ/sO6224dztHRhdHsbVysbNLpsk1LoGz9I2lN8Im6Fi8iuosTWXrhf9yXE5EWusq/m5+hW8oCG5TxmYoeReIRy5iSBWrff/JPX07fwPLxcEyPVAdXvqK4R29eP3/x9uwFKUONNDns4XA8HMcJ2/hQcd27ae8HpP2n7XaLbf/bvzc14Im2nCOruIzQtVnWJdh5yXoYaNL/qekqY6XxgUhub6kYL5zabOj41zriiMurjC25k6RpxKbNBkwc3wH1zb7/vv3xBr7tV6ujBrUQURM+jNvTBIqucb3389mGsEiDE0njRPE86XVyTnK2Eg7GDgK6ieO0KNCGO2n7OH96cU7gqfkprIq/qjHHV4Sr+Copmzb7EQHHs1umuF7UfEG0SeQmLTTLXVh8HWFx8w8y6qg7dvFysoL+SzYdZbi9TZB7s+no06fPcjR+bakpNlebzeY/iKFnfg==","sidebar_class_name":"put api-method","info_path":"docs/API-docs/v1.1/opensign-api-v-1-1","custom_edit_url":null},"sidebar":"apiSidebar","previous":{"title":"Get Template","permalink":"/docs/API-docs/v1.1/get-template"},"next":{"title":"Delete Template","permalink":"/docs/API-docs/v1.1/delete-template"}}');var n=i(74848),s=i(28453),o=i(57742),p=i.n(o),r=i(78178),d=i.n(r),l=i(19624),c=i.n(l),m=i(96226),u=i.n(m),h=(i(77675),i(19365),i(51107)),f=i(21312);const b={id:"update-template",title:"Update Template",description:"The Update Template API enables you to modify and update the details of a specific template.",sidebar_label:"Update Template",hide_title:!0,hide_table_of_contents:!0,api:"eJzFWc2OG7kRfpUKL7aFHkn+XUSnnXgd21jDFjwzMJLxQGA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RPE86XVyTnK2Eg7GDgK6ieO0KNCGO2n7OH96cU7gqfkprIq/qjHHV4Sr+Copmzb7EQHHs1umuF7UfEG0SeQmLTTLXVh8HWFx8w8y6qg7dvFysoL+SzYdZbi9TZB7s+no06fPcjR+bakpNlebzeY/iKFnfg==",sidebar_class_name:"put api-method",info_path:"docs/API-docs/v1.1/opensign-api-v-1-1",custom_edit_url:null},g=void 0,y={},v=[];function T(e){const t={p:"p",...(0,s.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(h.default,{as:"h1",className:"openapi__heading",children:"Update Template"}),"\n",(0,n.jsx)(p(),{method:"put",path:"/template/{template_id}",context:"endpoint"}),"\n",(0,n.jsx)(t.p,{children:"The Update Template API enables you to modify and update the details of a specific template."}),"\n",(0,n.jsx)(h.default,{id:"request",as:"h2",className:"openapi-tabs__heading",children:(0,n.jsx)(f.default,{id:"theme.openapi.request.title",children:"Request"})}),"\n",(0,n.jsx)(d(),{...i(49772)}),"\n",(0,n.jsx)(c(),{...i(7110)}),"\n",(0,n.jsx)(u(),{...i(78316)})]})}function x(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(T,{...e})}):T(e)}},49772(e){e.exports=JSON.parse('{"parameters":[{"name":"template_id","in":"path","description":"ID of the template that needs to be updated","required":true,"style":"simple","explode":false,"schema":{"type":"string","format":"string"}}]}')},7110(e){e.exports=JSON.parse('{"title":"Body","body":{"description":"Provide below parameter to update templates (at least one parameter required)","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","format":"string","example":"sample template"},"note":{"type":"string","format":"string","example":"Please review and sign this document"},"description":{"type":"string","format":"string","example":"template description"},"folderId":{"type":"string","example":""},"enableOTP":{"type":"boolean","description":"true - this option will enable OTP verification. Users will receive a verification code via email, which they must enter to sign the document. false - this option will disable OTP verification, allowing users to sign the document directly without additional steps.","example":false},"enableTour":{"type":"boolean","description":"true - this option will enable a guided tour for signers, providing instructions during the signing process. false - disable the guided tour, ensuring a faster, uninterrupted signing experience.","example":false},"allow_modifications":{"type":"boolean","description":"true - Permits signers to add elements such as signatures, initials, stamps, or text on top of existing widgets in the document. false - Restricts signers from adding any additional elements to the document. This is the default value.","example":false},"file":{"type":"string","description":"You may provide the base64 encoded PDF file to replace the existing one","format":"base64","example":""},"redirect_url":{"type":"string","description":"Specifies the URL where the signer will be redirected upon completing the document signing process.","example":""},"auto_reminder":{"type":"boolean","description":"Set to true to enable automatic reminders. Set to false to disable them (default behavior).","example":false},"remind_once_in_every":{"type":"number","description":"Number of days between reminders. This is only applicable when auto_reminder is set to true.","example":5},"notify_on_signatures":{"type":"boolean","example":false,"description":"**true** - The document creator will receive an email notification whenever a signer signs the document.\\n\\n**false** - The document creator will not receive an email notification whenever a signer signs the document.\\n\\nNote: Regardless of this setting, a completion email with the signed document and completion certificate attached is depend on \'send_email\' parameter.\\n"},"pen_colors":{"type":"array","items":{"type":"string"},"example":["blue","red","black"]},"bcc":{"type":"array","items":{"type":"string"},"example":["user@example.com","user2@example.com"],"description":"bcc (blind carbon copy): Users added here will receive a notification email once the document is completed.\\n"}},"title":"template_template_id_body"}}}}}')},78316(e){e.exports=JSON.parse('{"responses":{"200":{"description":"Template updated successfully!","content":{"application/json":{"schema":{"type":"object","properties":{"objectId":{"type":"string","example":"asd2HsP4Hp"},"updatedAt":{"type":"string","example":"2023-10-07T16:49:56.000Z","xml":{"name":"date"},"title":"date"}},"title":"inline_response_200_3"}}}},"400":{"description":"Please provide valid field names!","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","format":"string","example":"Please provide valid field names!"}},"title":"inline_response_400"}}}},"404":{"description":"Template not found!","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","format":"string","example":"Template not found!"}},"title":"inline_response_404_7"}}}},"405":{"description":"Invalid API Token!","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"Invalid API token!"}},"xml":{"name":"invalidtoken"},"title":"invalidtoken"}}}}}}')}}]);