PUT
/
team
/
{team_id}
cURL
curl --request PUT \
  --url https://api.chartbrew.com/team/{team_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "showBranding": true,
  "allowReportRefresh": true,
  "allowReportExport": true
}'
{
  "id": 123,
  "name": "<string>",
  "TeamRoles": [
    {
      "id": 123,
      "team_id": 123,
      "user_id": 123,
      "role": "<string>",
      "projects": [
        "<string>"
      ],
      "canExport": true
    }
  ],
  "showBranding": true,
  "allowReportRefresh": true,
  "allowReportExport": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

team_id
string
required

ID of the team

Body

application/json

Response

200
application/json

Team updated successfully

The response is of type object.