Search...
Menu

Update user - based on user openid

Download
Request method Request address
PUT https://api.helplook.net/api/auth-access/update-by-openid/:openid
Content-Type application/json
:openid The user's OPENID to be updated
Note: Only users with the following user type ( verified user) are supported for updating.
body type: application/json
Parameter name type Required illustrate
name string no Username
phone string no User's mobile phone number
email string no

User Email

auth_group_id string no User group ID: If not passed, it will not be modified. Example: 1,2,3
Example body: application/json
 {
    "name": "小明",
    "phone": "1881437xxxx", 
    "email": "xxx@helplook.net",
    "auth_group_id": "1,2,3"
}

CURL example:

 curl --location --request PUT 'https://api.helplook.net/api/auth-access/update-by-openid/{openid}' \
--header 'x-api-key: API KEY' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--header 'Connection: keep-alive' \
--data-raw '{
    "name": "小明",
    "phone": "18814373100",
    "email": "18814373100@helplook.net",
    "auth_group_id": "1,2,3"
}'

response:

 {
    "data": {},
    "msg": "Success",
    "code": 200
}
Last modified: 2026-11-05Powered by