Teams

Automatically calculate team's member count

put/teams/{id}

Request

  • Base URL
    https://company.aha.io/api/v1
  • Auth
    • OAuth 2
      Authorization codehttps://{account-domain}.aha.io/oauth/authorize
      Token URLhttps://{account-domain}.aha.io/oauth/token
    • or HTTP bearer
    • or API key in cookie session
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

idstring required

Id identifier

Request body

Example request

{
  "team": {
    "automatically_calculate_team_members_count": true
  }
}

Response

Successful operation

Example response

{
  "team": {
    "id": "134558347",
    "name": "Product 2 team",
    "team_members_count": 0,
    "automatically_calculate_team_members_count": false,
    "capacity": "0.0",
    "hourly_rate": "250.0",
    "color": "#666666",
    "start_date": "2019-01-01",
    "end_date": "2019-01-01",
    "project": {
      "id": "131414752",
      "reference_prefix": "PRJ1",
      "name": "Project 1",
      "product_line": false,
      "created_at": "2019-01-01T00:00:00.000Z",
      "url": "https://company.aha.io/projects/PRJ1",
      "workspace_type": "product_workspace"
    },
    "schedule": {
      "id": "441193141",
      "name": "Default schedule",
      "hours_per_day": "8.2",
      "story_points_per_day": "1.0",
      "velocity": "10.5"
    },
    "custom_fields": [],
    "team_members": {
      "id": "730311797",
      "name": "Peter Parker",
      "email": null,
      "user_id": null,
      "virtual": true
    }
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.