Skip to main content

Delete file permission

DELETE /api/v1/files/{fileId}/permissions/{permId} HTTP/1.1

Generates Notification file unshare.

  1. Path parameters
ParameterDescription
fileIdThe ID of the file.
permIdThe user’s login or groupId.
  1. Example request
curl 'http://localhost:8080/api/v1/files/189390959/permissions/testsrvdocs2@tacos.devoffice.ru' -i -X DELETE \
-H 'X-co-auth-token: 4a36eedab979f7903e43754faf7826d4'
  1. Example response
HTTP/1.1 204 No Content
X-co-request-id: 54636472554e5a72484e3267524d3845