Retrieves the names of all teams and the users and roles within each team.
client.list_teams()
Return Type | Description |
---|---|
dict | A dictionary containing information about teams and users. |
{
'example_team': {
'members': [
{
'user': '[email protected]',
'role': 'MEMBER'
},
{
'user': '[email protected]',
'role': 'MEMBER'
}
]
}
}