POST /v1/dms/documents/{id}/extend-lock
POST/v1/dms/documents/{id}/extend-lock
Extend the checkout lock on a DMS document (owner only)
Request body
| Name | Type | Description |
|---|
ttlMs | integer | |
Path parameters
| Name | Type | Description |
|---|
idrequired | string | |
Example
curl -X POST https://api.codemeta-os.de/v1/dms/documents/{id}/extend-lock \
-H "X-Tenant-Id: $TENANT" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"ttlMs": 0
}'
const result = await cm.dms.post({
"ttlMs": 0
});
Response codes
| HTTP |
Meaning |
200 |
Default Response |