Updates the lock duration time or update the lockedByApp property information for the specified template. The user and integrator key must match the user specified by the lockByUser property and integrator key information and the X-DocuSign-Edit header must be included or an error will be generated.

Request

HTTP request

PUT /v2/accounts/{accountId}/templates/{templateId}/lock

Parameters

Parameter NameValueDescription
Path Parameters
accountIdstring

The external account number (int) or account ID Guid.

templateIdstring

The ID of the template being accessed.

Request Body

lockRequest

Responses

CodeDescriptionReference
200

Successful response.

TemplateLocks
400

Error encountered.

errorDetails

SDK Method

Templates::updateLock

Definitions

errorDetails
lockRequest
userInfo
TemplateLocks

Examples

Generic JSON Request/Response
Generic XML Request/Response