curl --request GET \
--url https://api.chartbrew.com/team \
--header 'Authorization: Bearer <token>'
[
{
"id": 123,
"name": "<string>",
"TeamRoles": [
{
"id": 123,
"team_id": 123,
"user_id": 123,
"role": "<string>",
"projects": [
"<string>"
],
"canExport": true
}
],
"Projects": [
{
"id": 123,
"name": "<string>",
"Charts": [
{
"id": 123
}
]
}
],
"Connections": [
{
"id": 123
}
],
"showBranding": true,
"allowReportRefresh": true,
"allowReportExport": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
Get all teams for the authenticated user
curl --request GET \
--url https://api.chartbrew.com/team \
--header 'Authorization: Bearer <token>'
[
{
"id": 123,
"name": "<string>",
"TeamRoles": [
{
"id": 123,
"team_id": 123,
"user_id": 123,
"role": "<string>",
"projects": [
"<string>"
],
"canExport": true
}
],
"Projects": [
{
"id": 123,
"name": "<string>",
"Charts": [
{
"id": 123
}
]
}
],
"Connections": [
{
"id": 123
}
],
"showBranding": true,
"allowReportRefresh": true,
"allowReportExport": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Array of teams the user is a member of
The response is of type object[]
.