🚧 The Signature.nc API documentation in under construction, feel free to contact-us.
API Documentation
API
Templates
documents
Delete fields from a document

Delete a field

DELETE/templates/{templateuuid}/documents/{documentuuid}/fields/fieldid

The API endpoint allows you to delete a field attached to a document from a given template

Parameters

  • templateuuid String
    The unique identifier of the document template.

  • documentuuid String
    The unique identifier of the document.

  • fieldid String
    The unique identifier of the fillable field.

NodeJS
var axios = require("axios").default;
 
var options = {
  method: 'DELETE',
  url: 'https://api.signature.nc/api/v1/templates/24498f77-761c-4695-8df0-218c84059a95/documents/dde5ddb2-742b-4453-a862-160c2186da24/fields/878',
  headers: {'Authorization': 'Bearer {apiKey}'}
};
 
axios.request(options).then(function (response) {
  console.log(response.data);
}).catch(function (error) {
  console.error(error);
});
json
[
    {
        "id": 879,
        "name": "text",
        "createdAt": "2024-05-27T04:44:39.789Z",
        "updatedAt": "2024-05-27T04:44:39.789Z",
        "area": {
            "id": 878,
            "x": 0.11878039144790684,
            "y": 0.1679894153229193,
            "page": 0,
            "w": 0.23756078289581367,
            "h": 0.3359788306458386,
            "createdAt": "2024-05-27T04:44:39.742Z",
            "updatedAt": "2024-05-27T04:44:39.742Z"
        }
    },
    {
        "id": 880,
        "name": "stamp",
        "createdAt": "2024-05-27T04:44:39.861Z",
        "updatedAt": "2024-05-27T04:44:39.861Z",
        "area": {
            "id": 879,
            "x": 0.23756078289581367,
            "y": 0.3359788306458386,
            "page": 0,
            "w": 0.23756078289581367,
            "h": 0.3359788306458386,
            "createdAt": "2024-05-27T04:44:39.854Z",
            "updatedAt": "2024-05-27T04:44:39.854Z"
        }
    }
]