{
"account_id": "48",
"token": "aliqua exercitation occaecat Excepteur quis",
"configuration": {
"enabled": true,
"p2p_chat_banned": false,
"team_chat_banned": false,
"chatroom_chat_banned": false,
"qchat_chat_banned": false,
"push_enabled_when_desktop_online": false
},
"user_information": {
"name": "马示思难",
"avatar": "http://dummyimage.com/100x100",
"sign": "dolore reprehenderit laboris",
"email": "l.bxyuulbt@qq.com",
"birthday": "1974-12-27",
"mobile": "13355645597",
"gender": 0,
"extension": "consequat ea"
}
}
curl --location --request POST 'https://open.yunxinapi.com/im/v2/accounts' \
--header 'AppKey;' \
--header 'X-custom-traceid: {% mock '\''uuid'\'' %}' \
--header 'Nonce;' \
--header 'CurTime;' \
--header 'CheckSum;' \
--header 'Content-Type: application/json' \
--data-raw '{
"account_id": "48",
"token": "aliqua exercitation occaecat Excepteur quis",
"configuration": {
"enabled": true,
"p2p_chat_banned": false,
"team_chat_banned": false,
"chatroom_chat_banned": false,
"qchat_chat_banned": false,
"push_enabled_when_desktop_online": false
},
"user_information": {
"name": "马示思难",
"avatar": "http://dummyimage.com/100x100",
"sign": "dolore reprehenderit laboris",
"email": "l.bxyuulbt@qq.com",
"birthday": "1974-12-27",
"mobile": "13355645597",
"gender": 0,
"extension": "consequat ea"
}
}'
{
"code": 200,
"msg": "success.",
"data": {
"account_id": "6",
"token": "fafsda232@623#*42",
"configuration": {
"enabled": false,
"p2p_chat_banned": false,
"team_chat_banned": false,
"chatroom_chat_banned": true,
"qchat_chat_banned": false,
"push_enabled_when_desktop_online": true
},
"user_information": {
"name": "张三",
"avatar": "http://dummyimage.com/100x100",
"sign": "in aute nulla Lorem",
"email": "y.amene@qq.com",
"birthday": "2008-11-02",
"mobile": "13813888888",
"gender": 1,
"extension": "est eiusmod"
}
}
}