Sha256: c1997878e580fc1b253132f2d84bc94bb3191cf052b1af50dd92aa60000f7d92
Contents?: true
Size: 747 Bytes
Versions: 3
Compression:
Stored size: 747 Bytes
Contents
module DropboxApi::Endpoints::Sharing class RevokeSharedLink < DropboxApi::Endpoints::Rpc Method = :post Path = "/2/sharing/revoke_shared_link".freeze ResultType = DropboxApi::Results::VoidResult ErrorType = DropboxApi::Errors::RevokeSharedLinkError # Revoke a shared link. # # Note that even after revoking a shared link to a file, the file may be accessible # if there are shared links leading to any of the file parent folders. # # A successful response indicates that the shared link was revoked. # # @param url [String] shared url which needs to be revoked. add_endpoint :revoke_shared_link do |url| perform_request({ :url => url }) end end end
Version data entries
3 entries across 3 versions & 1 rubygems