Undeleting a Document

You can use the unDeleteDocument call to restore a deleted document.

Sample URL

https://hostname:port/context/rest/v2/documents/unDeleteDocument/{id}

Method

POST

Parameters

Parameter Description
id The ID of the document to undelete.

This parameter is required if the path parameter is not present.

path The fully qualified File Share path name.

This parameter is required if the id parameter is not present; otherwise, it is ignored.

name the new name of the document to undelete.

Response

This call returns the metadata of the undeleted document