module Slack::Web::Api::Endpoints::AdminWorkflowsCollaborators

def admin_workflows_collaborators_add(options = {})

Other tags:
    See: https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.workflows.collaborators/admin.workflows.collaborators.add.json -
    See: https://api.slack.com/methods/admin.workflows.collaborators.add -

Options Hash: (**options)
  • :workflow_ids (array) --
  • :collaborator_ids (array) --
def admin_workflows_collaborators_add(options = {})
  raise ArgumentError, 'Required arguments :collaborator_ids missing' if options[:collaborator_ids].nil?
  raise ArgumentError, 'Required arguments :workflow_ids missing' if options[:workflow_ids].nil?
  post('admin.workflows.collaborators.add', options)
end

def admin_workflows_collaborators_remove(options = {})

Other tags:
    See: https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.workflows.collaborators/admin.workflows.collaborators.remove.json -
    See: https://api.slack.com/methods/admin.workflows.collaborators.remove -

Options Hash: (**options)
  • :workflow_ids (array) --
  • :collaborator_ids (array) --
def admin_workflows_collaborators_remove(options = {})
  raise ArgumentError, 'Required arguments :collaborator_ids missing' if options[:collaborator_ids].nil?
  raise ArgumentError, 'Required arguments :workflow_ids missing' if options[:workflow_ids].nil?
  post('admin.workflows.collaborators.remove', options)
end