dms.DeleteCollaborationDocumentsEx

This job deletes one or more collaboration shares. The shares to delete are passed as a JSON document in the same format as for dms.CreateCollaborationDocuments — a record is identified by the combination of object_id, object_type, from_user, and to_user.

This job is not listed in the official enaio® DMS engine overview. This description was reconstructed from the observed call behavior. On the server, the job prefix is uppercase (DMS.DeleteCollaborationDocumentsEx); enaio® servers accept both spellings.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Reserved; always pass 0.

JSON

BASE64

Yes

Shares to delete, in JSON format (UTF-8). Root object with key objects, whose value is an array of share records; fields identical to dms.CreateCollaborationDocuments (object_id, object_type, from_user, to_user, valid_from, valid_to, rights, remark).

Example
{
  "objects": [
    {
      "object_id": 2846,
      "object_type": 262148,
      "from_user": 10,
      "to_user": 74,
      "valid_from": "08.05.2026",
      "valid_to": "22.05.2026",
      "rights": "RXU",
      "remark": "test"
    }
  ]
}

2. Return Value

(INT): 0 = job successful, otherwise error code. No content output parameters are returned.

For further return values see Error Codes.

3. See Also