[POST] /restore
/api/dms/objects/{objectId}/actions/trash/restore
Description | Use this endpoint to restore an object from recycle bin to its original location if this is still present. In case the original location is not present the object is restored to the user tray. To restore the object including its children objects the query parameter restoreAll must be send with the value true. If the object is restored to the user tray, the response JSON contain the property "system:parentId" with the value "system:tray" |
|---|---|
Request | POST |
Request optional Query Parameter |
|
Response | Success: HTTP 200 |
Defined Errors |
|
Minimum Version | 5.3.0 |
Request | /api/dms/objects/2563/actions/trash/restore |
Result |