Skip to main content

Get team details

Basic Information

This interface is mainly used to obtain team details

请求路径
GET /openapi/v1/teams/{team_id}

request parameters

nameLocationtyperequiredChinese nameillustrate
team_idpathstringYesnone

return result

status codeStatus code meaningillustratedata model
200OKsuccessTeamInfo

Model

TeamInfo

{
"tenant_id": "string",
"tenant_name": "string",
"tenant_alias": "string",
"enterprise_id": "string",
"is_active": true,
"create_time": " string",
"creater": "string",
"role_infos": [
{
"role_name": "string",
"role_id": "string"
}
],
"service_num": 0,
"region_num": 0
}

Attributes

nametyperequiredconstraintChinese nameillustrate
tenant_idstringtruenoneTenant idTeam ID
tenant_namestringtruenoneTenant nameTeam Name
tenant_aliasstringtruenoneTenant aliasteam alias
enterprise_idstringtruenoneEnterprise idEnterprise ID
is_activebooleanfalsenoneIs activeActivate now
create_timestringfalsenoneCreate timecreation time
creatorstringfalsenoneCreaterTeam owner user
role_infos[RoleInfo]falsenoneThe roles the user has in the team
service_numintegerfalsenoneService numThe number of components in the team
region_numintegerfalsenoneRegion numThe number of data centers opened by the team

RoleInfo

{
"role_name": "string",
"role_id": "string"
}

Attributes

nametyperequiredconstraintChinese nameillustrate
role_namestringtruenoneRole nameRole Name
role_idstringtruenoneRole idrole id