团队Upsert
POST
https://api.flashcat.cloud/team/upsert
最后修改时间:2025-03-31 11:20:18
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flashcat.cloud/team/upsert?app_key' \
--header 'Content-MD5: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"team_id": 0,
"team_name": "string",
"reset_if_name_exist": true,
"description": "string",
"ref_id": "string",
"person_ids": [
0
],
"emails": [
"string"
],
"phones": [
"string"
]
}'
响应示例响应示例
{
"error": {
"code": "InvalidParameter",
"message": "string"
},
"data": {
"team_id": 0
}
}
请求参数
Header 参数
Content-MD5
string
必需
示例值:
application/json
Body 参数application/json
返回响应
修改于 2025-03-31 11:20:18