Slack.Web.Admin.Workflows.Collaborators (SlackKit v1.0.0-alpha.0)

View Source

Summary

Functions

Add collaborators to workflows within the team or enterprise

Remove collaborators from workflows within the team or enterprise

Functions

add(collaborator_ids, workflow_ids, optional_params \\ %{})

Add collaborators to workflows within the team or enterprise

API reference

Rate limit: Tier 2: 20+ per minute
Scopes:

View on docs.slack.dev ↗

Required Params

  • collaborator_ids - Array of collaborators (encoded user IDs) to add; max 50
  • workflow_ids - Array of workflow IDs to edit; max 50

Errors the API can return:

  • error_adding_collaborators - There were one or more errors adding workflow collaborators
  • not_allowed - The user is not allowed to access this API method

See the Common Errors guide for errors returned by every Web API method.

remove(collaborator_ids, workflow_ids, optional_params \\ %{})

Remove collaborators from workflows within the team or enterprise

API reference

Rate limit: Tier 2: 20+ per minute
Scopes:

View on docs.slack.dev ↗

Required Params

  • collaborator_ids - Array of collaborators (encoded user IDs) to remove; max 50
  • workflow_ids - Array of workflow IDs to edit; max 50

Errors the API can return:

  • error_removing_collaborators - There were one or more errors adding workflow collaborators
  • not_allowed - The user is not allowed to access this API method

See the Common Errors guide for errors returned by every Web API method.