Class: DropboxApi::Endpoints::Auth::TokenRevoke

Inherits:
Rpc
  • Object
show all
Defined in:
lib/dropbox_api/endpoints/auth/token_revoke.rb

Constant Summary collapse

Method =
:post
Path =
"/2/auth/token/revoke".freeze
ResultType =
DropboxApi::Results::VoidResult
ErrorType =
nil

Instance Method Summary collapse

Methods inherited from Rpc

#build_request, #initialize, #request_body

Methods inherited from Base

add_endpoint

Constructor Details

This class inherits a constructor from DropboxApi::Endpoints::Rpc

Instance Method Details

#token_revokeObject

Revoke the access token for the current account



10
11
12
# File 'lib/dropbox_api/endpoints/auth/token_revoke.rb', line 10

add_endpoint :token_revoke do
  perform_request(nil)
end