Archive a template
Hides the template from the list. It is not deleted, and documents already made from it are not affected.
Permission: signing:manage @ workspace/{workspaceId}/signingTemplate/{signingTemplateId}
Authorization
ServiceAccountKey A service account API key, sent whole as a bearer token:
hsk_<40 hex>.hss_<64 hex>.
In: header
Path Parameters
The template to act on. IDs come from List templates.
Query Parameters
The workspace the template or document belongs to. Send it in the query string on every call, including the PDF upload. IDs come from List workspaces.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/signing/templates/RVeFlYdDGgoESUXespsR?workspaceId=ws_a1b2c3"{ "success": true}Get a template GET
**Permission:** `signing:read` @ `workspace/{workspaceId}/signingTemplate/{signingTemplateId}`
Change a template PUT
Changes the name, description, roles or fields. Send only what changes; `roles` and `fields` each replace the whole list. A template has 1 to 10 roles and up to 500 fields. Every field must point at a role in the template, sit on a page that exists, and fit inside the page. Documents already made from this template do not change. Send `baseVersion` (the template's `layoutVersion` when you read it) with `roles` or `fields`. If someone saved them since, nothing is saved and the answer is 409. A successful save returns `warnings`: things worth a look that did not stop the save. **Permission:** `signing:manage` @ `workspace/{workspaceId}/signingTemplate/{signingTemplateId}`