JavaScript must be enabled in order to use this site.
Please enable JavaScript in your browser and refresh the page.
Deleting a File or Folder
You can use the
delete call to mark a document as deleted. The physical documents and the associated database records will be removed by the File Share Sync Archive service based the retention policy.
Sample URL
https://hostname :port /context /rest/v2/documents/delete/{id}
Parameters
Parameter
Description
id
The ID of the document.
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.
Response
HTTP Status Code
Description
400
Not Found.
The document either does not exist or the user has no access to it.
Example:
{"message":"The document either doesn't exist or you have no access to it."}
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.