Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods migration.exchange.json
Raw

priv/docs/methods/migration.exchange.json

{
"args": {
"team_id": {
"desc": "Specify team\\_id starts with `T` in case of Org Token",
"required": false,
"type": "string"
},
"to_old": {
"desc": "Specify `true` to convert `W` global user IDs to workspace-specific `U` IDs. Defaults to `false`.",
"required": false,
"type": "boolean"
},
"users": {
"desc": "A comma-separated list of user ids, up to 400 per request",
"required": true,
"type": "array"
}
},
"desc": "For Enterprise organization workspaces, map local user IDs to global user IDs",
"errors": {
"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."
},
"rate_limit": {
"label": "Tier 2: 20+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"bot": [
{
"name": "tokens.basic",
"url": "https://docs.slack.dev/reference/scopes/tokens.basic"
}
],
"user": [
{
"name": "tokens.basic",
"url": "https://docs.slack.dev/reference/scopes/tokens.basic"
}
]
}
}