Slack.Web.Migration (SlackKit v1.0.0-alpha.0)

View Source

Summary

Functions

For Enterprise organization workspaces, map local user IDs to global user IDs

Functions

exchange(users, optional_params \\ %{})

For Enterprise organization workspaces, map local user IDs to global user IDs

API reference

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

View on docs.slack.dev ↗

Required Params

  • users - A comma-separated list of user ids, up to 400 per request

Optional Params

  • team_id - Specify team_id starts with T in case of Org Token
  • to_old - Specify true to convert W global user IDs to workspace-specific U IDs. Defaults to false.

Errors the API can return:

  • not_enterprise_team - The workspace associated with the token is not part of an Enterprise organization. User IDs have not changed and there is nothing to map.
  • too_many_users - Too many user IDs provided in users. Up to 400 user IDs are allowed per request.

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