{"api":"esign_rest","category":"reference"}

TemplateLocks Resource

The TemplateLocks resource provides methods that enable you to manage locks on an template.

To prevent users from changing a template while another user is modifying it, you can lock the template and set the time until the lock expires.

For example, you would use the following flow:

  1. Lock the template.
  2. Make changes to template.
  3. Delete the template lock and save the changes. If the template has a password, you must supply the password to save the changes.

Note: To use template locks, the user must have template locking capability enabled.

MethodDescription
get
GET /v2.1/accounts/{accountId}/templates/{templateId}/lock

Gets template lock information.

update
PUT /v2.1/accounts/{accountId}/templates/{templateId}/lock

Updates a template lock.

create
POST /v2.1/accounts/{accountId}/templates/{templateId}/lock

Locks a template.

delete
DELETE /v2.1/accounts/{accountId}/templates/{templateId}/lock

Deletes a template lock.

}} />