Update a template
PUT/templates/{uuid}
The API endpoint provides the functionality to update the name of the template.
Parameters
- uuid String
The unique identifier of the document template.
Request Body Properties
- name String
Name of the template - file File
A template is composed of files
📘
Content-Type : application/json
NodeJS
var axios = require("axios").default;
const data = {
"name":"API Template updated"
}
var options = {
method: 'PUT',
url: 'https://api.signature.nc/api/v2/templates/73e135cc-19c0-468e-a218-e6e5062e2af9',
headers: {'Authorization': 'Bearer {apiKey}','content-type': 'application/json'},
body: data
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
json
{
"name": "API Template updated",
"uuid": "73e135cc-19c0-468e-a218-e6e5062e2af9",
"createdAt": "2025-04-02T02:07:19.514Z",
"updatedAt": "2025-04-02T02:14:27.504Z",
"documents": [
{
"name": "Ordredujour-conseil adminitration.pdf",
"uuid": "bc41abcf-1fcb-4691-a6cd-66f5da097e73",
"url": "https://signaturencdevelopment.s3-accelerate.amazonaws.com/Ordredujour_conseil_adminitration_b8cf6b4122.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIATFNZMZNEHIQC3SME%2F20250402%2Fap-southeast-2%2Fs3%2Faws4_request&X-Amz-Date=20250402T021427Z&X-Amz-Expires=900&X-Amz-Signature=d1e24fc39df2f3993c9f27702c546c0aa2ff58a7164750615613aef13883c4a4&X-Amz-SignedHeaders=host&x-id=GetObject"
}
]
}