You're seeing just the function lock_post_template_lock, go back to DocuSign.Api.TemplateLocks module for more information.
Link to this function

lock_post_template_lock(connection, account_id, template_id, opts \\ [])

View Source


lock_post_template_lock(Tesla.Env.client(), String.t(), String.t(), keyword()) ::
  {:ok, DocuSign.Model.TemplateLocks.t()} | {:error, Tesla.Env.t()}

Lock a template. 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).


  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID Guid.
  • template_id (String.t): The ID of the template being accessed.
  • opts (KeywordList): [optional] Optional parameters
    • :lock_request (LockRequest):


} on success {:error, info} on failure