Get team details

Basic Information

This interface is mainly used to obtain team details

请求路径

  1. GET /openapi/v1/teams/{team_id}

request parameters

nameLocationtyperequiredChinese nameillustrate
team_idpathstringYesnone

return result

status codeStatus code meaningillustratedata model
200OKsuccessTeamInfo

Model

TeamInfo

  1. {
  2. "tenant_id": "string",
  3. "tenant_name": "string",
  4. "tenant_alias": "string",
  5. "enterprise_id": "string",
  6. "is_active": true,
  7. "create_time": " string",
  8. "creater": "string",
  9. "role_infos": [
  10. {
  11. "role_name": "string",
  12. "role_id": "string"
  13. }
  14. ],
  15. "service_num": 0,
  16. "region_num": 0
  17. }

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

  1. {
  2. "role_name": "string",
  3. "role_id": "string"
  4. }

Attributes

nametyperequiredconstraintChinese nameillustrate
role_namestringtruenoneRole nameRole Name
role_idstringtruenoneRole idrole id