/
DELETE /api/dms/objects/{objectId}/versions/{versionNr}

DELETE /api/dms/objects/{objectId}/versions/{versionNr}

As of Versionproduct version 1.0 | component version 1.0
Request MethodDELETE
Required Permissionaction delete and read
>> Roles and Role Sets
Description

To delete a specific version of an object, send the request with the ID of the object as objectId and the version number as versionNr.
Deleting the active version is not possible.

A delete permission on the active version of the object is required.

Request Example
/api/dms/objects/950f1e3a-829b-473d-97c5-9ea0a94706f6/versions/2
Result Example
Meaning of the response status codes:

200 OK

The DMS object with the ID objectId has been deleted

404 Not Found

The DMS object with the ID objectId can not be found.

Related content

GET /api/dms/objects/{objectId}/versions/{versionNr}
GET /api/dms/objects/{objectId}/versions/{versionNr}
Read with this
DELETE /api/dms/objects/{objectId}/versions/{versionNr}
DELETE /api/dms/objects/{objectId}/versions/{versionNr}
More like this
GET /api/dms/objects/{objectId}/versions
GET /api/dms/objects/{objectId}/versions
Read with this
DELETE /api/dms/objects/{objectId}/versions/{versionNr}
DELETE /api/dms/objects/{objectId}/versions/{versionNr}
More like this
GET /api/dms/objects/{objectId}/history
GET /api/dms/objects/{objectId}/history
Read with this
DELETE /api/dms/objects/{objectId}
DELETE /api/dms/objects/{objectId}
More like this