Sha256: 11ec5482f016c35c09752e6990dbaa54a63d01db832719ac3ab36de312c57037
Contents?: true
Size: 946 Bytes
Versions: 7
Compression:
Stored size: 946 Bytes
Contents
module DropboxApi::Endpoints::Files class PermanentlyDelete < DropboxApi::Endpoints::Rpc Method = :post Path = "/2/files/permanently_delete".freeze ResultType = DropboxApi::Results::VoidResult ErrorType = DropboxApi::Errors::DeleteError include DropboxApi::OptionsValidator # Permanently delete the file or folder at a given path. # # See https://www.dropbox.com/en/help/40 # # Note: This endpoint is only available for Dropbox Business apps. # # @param path [String] Path in the user's Dropbox to delete. # @option options parent_rev [String] Perform delete if given "rev" # matches the existing file's latest "rev". This field does not support # deleting a folder. add_endpoint :permanently_delete do |path, options = {}| validate_options([:parent_rev], options) perform_request options.merge({ :path => path }) end end end
Version data entries
7 entries across 7 versions & 1 rubygems