team_rename event
The workspace name has changed
Facts
Required Scopes
Usage info
This example includes both the event wrapper and the event structure for the team_rename event.
{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "team_rename",
"name": "New Team Name Inc.",
"team_id": "T1234"
},
"type": "event_callback",
"authed_users": [
"U123ABC456",
"U222222222"
],
"event_id": "Ev123ABC456",
"event_time": 123456789
}
The team_rename event is sent to all connections for a workspace when an admin changes the workspace name.
Clients can use this to update the display of the workspace name as soon as it changes. If they don't the client will receive the new name the next time it calls rtm.start.