client.list_teams

Retrieves the names of all teams and the users and roles within each team.

client.list_teams()
Return TypeDescription
dictA dictionary containing information about teams and users.
{
    'example_team': {
        'members': [
            {
                'user': '[email protected]',
                'role': 'MEMBER'
            },
            {
                'user': '[email protected]',
                'role': 'MEMBER'
            }
        ]
    }
}