module Slack::Web::Api::Endpoints::Apps

Public Instance Methods

apps_uninstall(options = {}) click to toggle source

Uninstalls your app from a workspace.

@option options [Object] :client_id

Issued when you created your application.

@option options [Object] :client_secret

Issued when you created your application.

@see api.slack.com/methods/apps.uninstall @see github.com/slack-ruby/slack-api-ref/blob/master/methods/apps/apps.uninstall.json

# File lib/slack/web/api/endpoints/apps.rb, line 18
def apps_uninstall(options = {})
  throw ArgumentError.new('Required arguments :client_id missing') if options[:client_id].nil?
  throw ArgumentError.new('Required arguments :client_secret missing') if options[:client_secret].nil?
  post('apps.uninstall', options)
end