/migration.exchange
GET
/migration.exchangeFor Enterprise Grid workspaces, map local user IDs to global user IDs
Request
Query Params
token
string
required
Authentication token. Requires scope: tokens.basic
users
string
required
A comma-separated list of user ids, up to 400 per request
team_id
string
optional
Specify team_id starts with T
in case of Org Token
to_old
string
optional
Specify true
to convert W
global user IDs to workspace-specific U
IDs. Defaults to false
.
Request samples
Responses
Typical success response when mappings exist for the specified user IDs(200)
Typical error response when there are no mappings to provide(500)
Typical success response when mappings exist for the specified user IDs
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
enterprise_id
string
The enterprise grid organization ID containing the workspace/team.
invalid_user_ids
array[string]
A list of User IDs that cannot be mapped or found
ok
#/definitions/700149required
team_id
#/definitions/700154required
user_id_map
object
A mapping of provided user IDs with mapped user IDs
Additional properties
integer | number | string | boolean
optional
Additional properties
integer | number | string | boolean
optional
Exampleresponse
{
"enterprise_id": "E1KQTNXE1",
"invalid_user_ids": [
"U21ABZZXX"
],
"ok": true,
"team_id": "T1KR7PE1W",
"user_id_map": {
"U06UBSUN5": "W06M56XJM",
"U06UBSVB3": "W06PUUDLY",
"U06UBSVDX": "W06PUUDMW",
"U06UEB62U": "W06PTT6GH",
"W06UAZ65Q": "W06UAZ65Q"
}
}
Last modified: a year ago