GET
/
team
cURL
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"
  }
]
This endpoint returns all teams the user is a member of. The user is taken from the authentication token.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json

Array of teams the user is a member of

The response is of type object[].