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'
ResultType =
DropboxApi::Results::VoidResult
ErrorType =
nil

Instance Method Summary collapse

Methods inherited from Rpc

#build_connection, #build_request, #request_body

Methods inherited from Base

add_endpoint, #initialize

Constructor Details

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

Instance Method Details

#token_revokeObject

Revoke the access token for the current account



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

add_endpoint :token_revoke do
  perform_request(nil)
end