{
"team_id": 0,
"team_name": "string",
"reset_if_name_exist": true,
"description": "string",
"ref_id": "string",
"person_ids": [
0
],
"emails": [
"string"
],
"phones": [
"string"
]
}
curl --location --request POST 'http://prod-cn.your-api-server.com/team/upsert' \
--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
}
}