cURL
curl --request POST \ --url https://api.example.com/api/directory/teams.list \ --header 'Content-Type: application/json' \ --data ' { "teams": "*", "with_ancestors": true, "with_disabled": true, "exclude_instance": true } '
[ { "id": "872815618512410358", "parent_id": "872815618512410358", "name": { "en": "Hello", "fr": "Bonjour", "de": "Guten Tag" }, "short_name": "<string>", "color": "<string>" } ]
Retrieves all teams (or the ones corresponding to the provided ids).
*
"*"
"872815618512410358"
Show child attributes
{ "en": "Hello", "fr": "Bonjour", "de": "Guten Tag"}