TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

DELETE api/2.0/files/share This function requires authentication

Description

Removes the sharing rights for the group of folders and files with the IDs specified in the request.

Parameters
Name Description Type Example
folderIds
sent in body
List of folder IDs Collection of strings
collection
some text
fileIds
sent in body
List of file IDs Collection of strings
collection
some text
Example
DELETE api/2.0/files/share
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "folderIds": [
    "some text"
  ],
  "fileIds": [
    "some text"
  ]
}
Returns

Bool value: true if the operation is successful