Skip to main content

Create a team

Basic Information

This interface is mainly used to create teams

请求路径
POST /openapi/v1/teams
Body 请求体示例
{
"tenant_name": "string",
"region": "string"
}

request parameters

nameLocationtyperequiredChinese nameillustrate
bodybodyCreateTeamReqnonone

return result

status codeStatus code meaningillustratedata model
200OKsuccessTeamBaseInfo

Model

CreateTeamReq

{
"tenant_name": "string",
"region": "string"
}

Attributes

nametyperequiredconstraintChinese nameillustrate
tenant_namestringtruenoneTenant nameTeam Name
regionstringfalsenoneRegionThe data center that is activated by default, if not specified, it will not be activated

TeamBaseInfo

{
"tenant_id": "string",
"tenant_name": "string",
"region": "",
"is_active": true,
"create_time": "string",
"creater": 0,
"limit_memory": 1024,
"update_time": "string",
"expired_time": "string",
"tenant_alias": "",
"enterprise_id": ""
}

Attributes

nametyperequiredconstraintChinese nameillustrate
tenant_idstringtruenoneTenant idtenant id
tenant_namestringtruenoneTenant nameTenant name
regionstringfalsenoneRegionregional center, deprecated
is_activebooleanfalsenoneIs activeactive state
create_timestringtruenoneCreate timecreation time
creatorintegerfalsenoneCreaterTenant creator
limit_memoryintegerfalsenoneLimit memoryMemory size unit (M)
update_timestringtruenoneUpdate timeupdate time
expired_timestringtruenoneExpired timeExpiration
tenant_aliasstring¦nullfalsenoneTenant aliasteam alias
enterprise_idstring¦nullfalsenoneEnterprise identerprise id