# List ZRA Teams returns empty object parent\_teams

**URL:** <https://devforum.zoom.us/t/list-zra-teams-returns-empty-object-parent-teams/107561>\
**Category:** API and Webhooks\
**Created:** [April 9, 2024, 7:48pm UTC](https://devforum.zoom.us/t/list-zra-teams-returns-empty-object-parent-teams/107561 "2024-04-09T19:48:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cofry](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cofry/32/38460_2.png) [@cofry](https://devforum.zoom.us/u/cofry)\
**Post date:** [April 9, 2024, 7:48pm UTC](https://devforum.zoom.us/t/list-zra-teams-returns-empty-object-parent-teams/107561/1 "2024-04-09T19:48:17Z")

</div>

### Format Your New Topic as Follows:

**API Endpoint(s) and/or Zoom API Event(s)**  
[List Account Teams [Deprecated]](https://developers.zoom.us/docs/api/rest/reference/iq/methods/#operation/ListAccountTeamsDeprecated)

**Description**  
The API endpoint to list ZRA Teams on the account is deprecated, but does not appear to have an alternative at this time so it is still the only endpoint capable of providing necessary functionality.

When this endpoint is used with the “parent\_team\_id” parameter, the parent\_teams property on objects it returns, are supposed to include “team\_id” and “name”, but instead returns the empty object “{}”. While this is expected for hierarchical teams at the top level and with no nested teams, this behavior is seen when the team has a parent team. This behavior is _not_ observed when using the query parameter “team\_name” where the object is populated correctly. When using neither parameter, only top level teams are returned so none of them would have data in that object.

Technically, in this scenario we know what the immediate parent\_team is because we provided it as a query parameter. However, the parent\_teams property is supposed to include _all_ higher level parent teams which means much greater management of the ZRA teams structure being handled by the calling application rather than the API endpoint.

**Error?**  
The JSON returned from the endpoint for teams contains “parent\_teams : {}” even when parent\_teams should exist.

**How To Reproduce**  
_Steps to reproduce the behavior:_

1. Use the GET /iq/teams endpoint along with a parent\_team\_id query parameter and no team\_name parameter with a parent\_team\_id of a ZRA team that has teams in the hierarchy beneath it
2. Observe that the returned team(s) have “{}” in the parent\_teams property in error
3. Use the GET /iq/teams endpoint along with a team\_name parameter matching one of the teams returned in step 1, but with no parent\_team\_id parameter.
4. Observe that the returned object(s) do have data in the “parent\_teams” property with the expected data

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 13, 2025, 11:24am UTC](https://devforum.zoom.us/t/list-zra-teams-returns-empty-object-parent-teams/107561/2 "2025-04-13T11:24:42Z")

</div>

Closed on April 13, 2025, 11:24am UTC

This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.
