Module: Slack::Web::Api::Endpoints::AdminConversationsEkm

Included in:
Slack::Web::Api::Endpoints
Defined in:
lib/slack/web/api/endpoints/admin_conversations_ekm.rb

Instance Method Summary collapse

Instance Method Details

#admin_conversations_ekm_listOriginalConnectedChannelInfo(options = {}) ⇒ Object

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.

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • :channel_ids (string)

    A comma-separated list of channels to filter to.

  • :cursor (string)

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

  • :limit (integer)

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

  • :team_ids (string)

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

See Also:



22
23
24
25
26
27
28
29
30
# 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