Teams API

Update a team's product

PUT /api/v1/teams/:id

Parameters
NameDescription
id *

Numeric ID of the team

name

Name of the team

product_id

Numeric ID or key of the product to assign the team to, or null for an account-level team

schedule_id

Schedule to use for this team

team_members_count

Number of members on a team

capacity

The team's weekly capacity in hours

start_date

The start date for the team in format YYYY-MM-DD

end_date

The end date for the team in format YYYY-MM-DD

hourly_rate

The hourly rate per team member

automatically_calculate_team_members_count

Calculate team_members_count using existing team members. Set to false and supply team_members_count to manually update to supplied member count value.

Example request

PUT /api/v1/teams/134558347

Example CURL command

curl "https://company.aha.io/api/v1/teams/134558347" -d '{"team":{"name":"Product 2 team","product_id":"PRJ2"}}' -X PUT \
	-H "Authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab" \
	-H "Content-Type: application/json" \
	-H "Accept: application/json"

Request

authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab
contentType: application/json
accept: application/json

Request body

Response

Status: 200 OK
contentType: application/json; charset=utf-8

Response body