Team memberships
List team memberships for a team
Changed onTeam memberships for capacity planning teams. Users can be either Aha! users or virtual users
get/teams/{team_id}/team_memberships
Request
- Base URLhttps://company.aha.io/api/v1
- Auth
- OAuth 2Authorization codehttps://{account-domain}.aha.io/oauth/authorizeToken URLhttps://{account-domain}.aha.io/oauth/token
- or HTTP bearer
- or API key in cookie session
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
team_idstring required
TeamId identifier
Query parameters
pagestring
per_pagestring
fieldsstring
Response
Successful operation
Example response
{
"team_memberships": [
{
"id": "202266373",
"team_member": {
"id": "540018633",
"name": "John Johnson",
"email": "john.johnson@corporation.com",
"user_id": null,
"virtual": true
},
"team": {
"id": "949295028",
"name": "Default team"
},
"created_at": "2019-01-01T00:00:00.000Z"
},
{
"id": "646482528",
"team_member": {
"id": "960059005",
"name": "Mary Humpty",
"email": "no-reply@aha.io",
"user_id": "1020675218",
"virtual": false
},
"team": {
"id": "949295028",
"name": "Default team"
},
"created_at": "2019-01-01T00:00:00.000Z"
}
],
"pagination": {
"total_records": 2,
"total_pages": 1,
"current_page": 1
}
}Changes
- info
added the new optional
queryrequest parameterpage - info
added the new optional
queryrequest parameterper_page
- info
- info
endpoint added
- info