{
"parent_userid": "zhangsan_parent_userid",
"new_parent_userid": "NEW_ID",
"mobile": "18000000000",
"children": [
{
"student_userid": "zhangsan",
"relation": "爸爸"
},
{
"student_userid": "lisi",
"relation": "伯父"
}
]
}curl --location -g --request POST 'http://127.0.0.1/cgi-bin/school/user/update_parent?access_token={{accesstoken}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"parent_userid": "zhangsan_parent_userid",
"new_parent_userid": "NEW_ID",
"mobile": "18000000000",
"children": [
{
"student_userid": "zhangsan",
"relation": "爸爸"
},
{
"student_userid": "lisi",
"relation": "伯父"
}
]
}'{
"errcode": 0,
"errmsg": "string"
}