v1

latestOpenAPI 3.1.02026-07-17220542.8 KB
Templates

Update a template

The API endpoint provides the functionality to move a document template to a different folder and update the name of the template.

put/templates/{id}

Path parameters

idinteger required

The unique identifier of the document template.

Request body

namestring

The name of the template.

folder_namestring

The folder's name to which the template should be moved.

rolesstring[]

An array of submitter role names to update the template with.

archivedboolean

Set false to unarchive template.

Example request

{
  "name": "New Document Name",
  "folder_name": "New Folder",
  "roles": [
    "Agent",
    "Customer"
  ]
}

Response

OK

idinteger required

Template unique ID number.

updated_atstring required

Date and time when the template was last updated.