module Slack::Web::Api::Endpoints::AdminConversationsEkm

Public Instance Methods

admin_conversations_ekm_listOriginalConnectedChannelInfo(options = {}) { |page| ... } click to toggle source

List all disconnected channels—i.e., channels that were once connected to other workspaces and then disconnected—and the corresponding original channel IDs for key revocation with EKM.

@option options [Object] :channel_ids

A comma-separated list of channels to filter to.

@option options [Object] :cursor

Set cursor to next_cursor returned by the previous call to list items in the next page.

@option options [Object] :limit

The maximum number of items to return. Must be between 1 - 1000 both inclusive.

@option options [Object] :team_ids

A comma-separated list of the workspaces to which the channels you would like returned belong.

@see api.slack.com/methods/admin.conversations.ekm.listOriginalConnectedChannelInfo @see github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.conversations.ekm/admin.conversations.ekm.listOriginalConnectedChannelInfo.json

# File lib/slack/web/api/endpoints/admin_conversations_ekm.rb, line 22
def admin_conversations_ekm_listOriginalConnectedChannelInfo(options = {})
  if block_given?
    Pagination::Cursor.new(self, :admin_conversations_ekm_listOriginalConnectedChannelInfo, options).each do |page|
      yield page
    end
  else
    post('admin.conversations.ekm.listOriginalConnectedChannelInfo', options)
  end
end