Module: Slack::Web::Api::Endpoints::Apps
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/apps.rb
Instance Method Summary collapse
-
#apps_uninstall(options = {}) ⇒ Object
This method uninstalls a workspace app.
Instance Method Details
#apps_uninstall(options = {}) ⇒ Object
This method uninstalls a workspace app. Unlike auth.revoke, which revokes a single token, this method revokes all tokens associated with a single installation of a workspace app.
17 18 19 20 21 |
# File 'lib/slack/web/api/endpoints/apps.rb', line 17 def apps_uninstall( = {}) throw ArgumentError.new('Required arguments :client_id missing') if [:client_id].nil? throw ArgumentError.new('Required arguments :client_secret missing') if [:client_secret].nil? post('apps.uninstall', ) end |