Unicode C++ / DocuSign REST API / Deletes a template lock.
Back to Collection Items
void ChilkatSample(void)
{
json.UpdateString(L"lockedByApp",L"sample string 1"); json.UpdateString(L"lockDurationInSeconds",L"sample string 2"); json.UpdateString(L"lockType",L"sample string 3"); json.UpdateString(L"useScratchPad",L"sample string 4"); json.UpdateString(L"templatePassword",L"sample string 5"); http.put_AuthToken(L"{{accessToken}}"); json.EmitSb(sbRequestBody);
}
Curl Command
curl -X DELETE
-H "Accept: application/json"
-H "Authorization: Bearer {{accessToken}}"
-d '{
"lockedByApp": "sample string 1",
"lockDurationInSeconds": "sample string 2",
"lockType": "sample string 3",
"useScratchPad": "sample string 4",
"templatePassword": "sample string 5"
}'
https://domain.com/v2.1/accounts/{{accountId}}/templates/{{templateId}}/lock
Postman Collection Item JSON
{
"name": "Deletes a template lock.",
"request": {
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{accessToken}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"lockedByApp\": \"sample string 1\",\n \"lockDurationInSeconds\": \"sample string 2\",\n \"lockType\": \"sample string 3\",\n \"useScratchPad\": \"sample string 4\",\n \"templatePassword\": \"sample string 5\"\n}"
},
"url": {
"raw": "{{baseUrl}}/v2.1/accounts/{{accountId}}/templates/{{templateId}}/lock",
"host": [
"{{baseUrl}}"
],
"path": [
"v2.1",
"accounts",
"{{accountId}}",
"templates",
"{{templateId}}",
"lock"
],
"variable": [
{
"key": "accountId",
"value": "{{accountId}}"
},
{
"key": "templateId",
"value": "{{templateId}}"
}
]
},
"description": "Deletes the lock from the specified template. The `X-DocuSign-Edit` header must be included in the request."
},
"response": [
]
}