Lock a template.

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

Locks the specified template, and sets the time until the lock expires, to prevent other users or recipients from accessing and changing the template.

Note: Users must have envelope locking capability enabled to use this function (the userSetting property canLockEnvelopes must be set to true for the user).

Request Body

{"lockedByApp"=>"sample string 1", "lockDurationInSeconds"=>"sample string 2", "lockType"=>"sample string 3", "useScratchPad"=>"sample string 4", "templatePassword"=>"sample string 5"}

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
Authorizationstring