Get all teams in your organization
GET/v1/teams
This route allows you to fetch all of the teams in your Port organization.
To learn more about teams, check out the documentation.
Requestโ
Query Parameters
fields string[]
Possible values: [id
, name
, createdAt
, updatedAt
, provider
, description
, users.firstName
, users.lastName
, users.email
, users.picture
, users.status
]
The fields you want to fetch for each team. If used, only the specified fields will be included in the response.
Responsesโ
- 200
Retrieved successfully.
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
okanyrequired
Possible values: [true
]
teams
object[]
required
idstring
namestring
createdAtdate-time
updatedAtdate-time
providerstring
descriptionstring
users
object[]
emailstring
firstNamestring
lastNamestring
picturestring
statusstring
{
"ok": true,
"teams": [
{
"id": "string",
"name": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z",
"provider": "string",
"description": "string",
"users": [
{
"email": "string",
"firstName": "string",
"lastName": "string",
"picture": "string",
"status": "string"
}
]
}
]
}