Updates the team. The submitted settings replace the existing values.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Path parameters
teamIdstringRequiredThe id of the team to update.
Query parameters
includeUserIdsbooleanOptionalfalseWhether to include the ids of users that are in the team.
includeProjectIdsbooleanOptionalfalseWhether to include the ids of projects that are assigned to the team.
Request body Required
The model with the team data.
application/json
namestringRequired0 maxLength: 255 The team name.
iconstring or nullOptional0 maxLength: 25 The icon of the team. Optional. Possible values: 'attach_money', 'poll', 'golf_course', 'all_inclusive', 'portrait', 'timeline', 'transform', 'description', 'folder', 'computer', 'web', 'phone_iphone', 'cloud', 'local_movies', 'shopping_cart', 'brush', 'image', 'camera_alt', 'movie_creation', 'public', 'whatshot', 'extension', 'explore', 'lock', 'settings', 'stars', 'store', 'school', 'local_bar', 'question_answer', 'favorite', 'work', 'flight_takeoff', 'map', 'local_dining'.
colorstring or nullOptional0 maxLength: 14 The color of the team. Optional. Possible values: 'red', 'coral', 'yellow', 'green', 'teal', 'arctic', 'blue', 'azure', 'purple', 'violet'.
Responses
200 OK
application/json
namestringRequired0 maxLength: 255 The team name.
iconstring or nullOptional0 maxLength: 25 The icon of the team. Optional. Possible values: 'attach_money', 'poll', 'golf_course', 'all_inclusive', 'portrait', 'timeline', 'transform', 'description', 'folder', 'computer', 'web', 'phone_iphone', 'cloud', 'local_movies', 'shopping_cart', 'brush', 'image', 'camera_alt', 'movie_creation', 'public', 'whatshot', 'extension', 'explore', 'lock', 'settings', 'stars', 'store', 'school', 'local_bar', 'question_answer', 'favorite', 'work', 'flight_takeoff', 'map', 'local_dining'.
colorstring or nullOptional0 maxLength: 14 The color of the team. Optional. Possible values: 'red', 'coral', 'yellow', 'green', 'teal', 'arctic', 'blue', 'azure', 'purple', 'violet'.
idstringOptionalThe id of the team.
createdOnstringOptionalThe date this team was created.
createdBystring or nullOptionalThe id of the user who created this team.
updatedOnstringOptionalThe date this team was last modified.
updatedBystring or nullOptionalThe id of the user who last updated this team.
userIdsarray of string or nullOptionalThe ids of the users in the team.
projectIdsarray of string or nullOptionalThe ids of the projects in the team.
404 Not Found
application/json
codestringRequired1 The error code.
descriptionstringRequired1 The description of the error.
linkstringRequired1 The link to the API documentation page.
detailsarray of string or nullOptionalA list of details describing the error.
validationErrorsarray of object or nullOptionalIf a validation error occurred, this contains the validation errors for each property.
Show 2 properties
propertystring or nullOptionalThe name of the property that failed validation.
messagestring or nullOptionalThe reason why this property failed validation.
traceIdstring or nullOptionalThe request trace id for tracking the request.