Request
Body Params  application/json
{
    "team_id": 0,
    "team_name": "string",
    "reset_if_name_exist": true,
    "description": "string",
    "ref_id": "string",
    "person_ids": [
        0
    ],
    "emails": [
        "string"
    ],
    "phones": [
        "string"
    ]
}
Request Code Samples
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"
    ]
}'
Responses
application/json {
    "error": {
        "code": "InvalidParameter",
        "message": "string"
    },
    "data": {
        "team_id": 0
    }
}
Modified at 2025-04-01 04:17:21