---
title: TeamsResponse
framework: CKTool JS
role: symbol
role_heading: Structure
platforms: [cktool js 1.2.15+]
path: cktooljs/teamsresponse
---

# TeamsResponse

Response object for a list of teams.

## Declaration

```data
dictionary TeamsResponse {
	Team[] teams;
	string? recentTeamId;
};
```

## Overview

Overview In JavaScript, this is a plain object with properties as described. In TypeScript, this type is imported in the following way: import type { TeamsResponse } from "@apple/cktool.database";

## Topics

### Instance Properties

- [recentTeamId](cktooljs/teamsresponse/recentteamid.md)
- [teams](cktooljs/teamsresponse/teams.md)

## See Also

### User and Team

- [getSessionUser](cktooljs/promisesapi/getsessionuser.md)
- [getTeams](cktooljs/promisesapi/getteams.md)
- [Team](cktooljs/team.md)
