Retrieve list of teams under user account
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
GET
/teams
internal
请求示例请求示例
Go
Java
Objective-C
Shell
curl --location --request GET 'http://dev-cn.your-api-server.com/teams' \
--header 'authorization: Bearer YOUR_SECRET_API_KEY'
响应示例响应示例
200 - 示例 1
{
"statusCode": 200,
"messageCode": "success",
"teams": {
"totalCount": 20,
"items": [
{
"id": "b04eaafa-00c2-41a2-9c6a-7f7d32805a91",
"name": "Browse AI team",
"api": true,
"createdAt": 1678795867879
}
]
}
}
请求参数
Header 参数
authorization
string
必需
示例值:
Bearer YOUR_SECRET_API_KEY
返回响应
修改于 2024-02-20 02:11:12