Class: DropboxApi::Endpoints::Sharing::UnshareFile
- Defined in:
- lib/dropbox_api/endpoints/sharing/unshare_file.rb
Constant Summary collapse
- Method =
:post
- Path =
'/2/sharing/unshare_file'
- ResultType =
DropboxApi::Results::VoidResult
- ErrorType =
DropboxApi::Errors::UnshareFileError
Instance Method Summary collapse
-
#unshare_file(file) ⇒ Object
Remove all members from this file.
Methods inherited from Rpc
#build_connection, #build_request, #request_body
Methods inherited from Base
Constructor Details
This class inherits a constructor from DropboxApi::Endpoints::Base
Instance Method Details
#unshare_file(file) ⇒ Object
Remove all members from this file. Does not remove inherited members.
A successful response indicates that the file was unshared.
14 15 16 17 18 |
# File 'lib/dropbox_api/endpoints/sharing/unshare_file.rb', line 14 add_endpoint :unshare_file do |file| perform_request({ file: file }) end |