Delete dms_share
DELETE/v1/dms_shares/{id}
Soft delete entity.
Data model
This operation works on the entity DMS Share (dms_share). All 15 fields — type, validation, required status, relationships — are listed in the schema reference.
-
Required fields:
documentId,shareType -
Server-managed:
_id,schema,schemaVersion,tenantId,version,createdAt,updatedAt,createdBy,updatedBy,deletedAt,deletedBy,token,passwordHash,downloadCount,accessCount,lastAccessedAt— the platform assigns these fields; they are discarded in the request.
Path parameters
| Name | Type | Description |
|---|---|---|
idrequired | string |
Example
curl -X DELETE https://api.codemeta-os.de/v1/dms_shares/{id} \
-H "X-Tenant-Id: $TENANT" \
-b cookies.txtconst result = await cm.dms_shares.delete();Response codes
| HTTP | Meaning |
|---|---|
200 |
Default Response |