Path: /api/v1/user/update
Method: POSTDescription: Update profile information such as account username/password, cookie, proxy, fingerprints and so on.
Optional Body parameters can be omitted, and the parameter format is JSON.
| Name | Type | Necessary | Default | Example | Description | Remarks |
|---|---|---|---|---|---|---|
| user_id | text | YES | - | h1yynkm | Profile id of the profile that needs to be edited | |
| name | text | NO | - | user A | The name of the profile, no more than 100 characters | |
| domain_name | text | NO | - | facebook.com | Domain name of user’s account platform, such as facebook.com, amazon.com... Will open when clicking Open. | |
| open_urls | list | NO | - | ["http://www.baidu.com","https://www.google.com"] | Other urls when opening browser. If leaving it empty, will open the domain name url. | |
| username | text | NO | - | myusername | Fill in at least one of the following: username /password or cookie information. If username /password duplication is allowed, leave here empty. | |
| password | text | NO | - | 123456 | Fill in at least one of the following: username /password or cookie information. If username /password duplication is allowed, leave here empty. | |
| fakey | text | NO | - | xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx | Enter the 2FA-key.This applies to online 2FA code generator, which works similarly to authenticators. | |
| cookie | text | NO | - | [ { "domain": ".baidu.com", "expirationDate": 1724188800, "name": "BAIDUID", "path": "/", "sameSite": "unspecified", "secure": true, "value": "xxxxxxxxxx", "id": 1 } ] | Fill in at least one of the following: username /password or cookie information. If username /password repeat is allowed, leave here empty. Format: JSON | |
| ignore_cookie_error | text | NO | 0 | 1 | 0:When the cookie verification fails, the cookie format is incorrectly returned directly 1:When the cookie verification fails, filter out the data in the wrong format and keep the cookie in the correct format Only supports netspace | Should upgrade to V2.4.6.6 or above |
| ip | text | NO | - | xxx.xxx.xxx.xxx | Proxy IP for an account to log in, fill it when proxy software is lumauto or oxylabs | |
| country | text | NO | - | us | Country or region where your account belongs to. Without lumauto or oxylabs IP please enter country | |
| region | text | NO | - | xx | State or province where an account logged in, optional | |
| city | text | NO | - | xx | City where an account logged in, optional | |
| remark | text | NO | - | This is remark | Remark to describe accounts | |
| sys_app_cate_id | text | NO | 0 | 82 | Passable application category ID, 0 for follow team application | Need to upgrade to version V2.6.6.5 and above |
| user_proxy_config | userProxyConfig | NO | - | {"proxy_type":"http","proxy_host":"123.0.0.1", "proxy_port":"12","proxy_user":"12", "proxy_password":"12","proxy_soft":"luminati"} | Account proxy configuration, for details please see parameter object userProxyConfig | |
| proxyid | text | NO | - | xxx | Can be passed proxy id or random (randomize a proxy) | |
| fingerprint_config | fingerprintConfig | NO | - | {"automatic_timezone": "1","language": ["en-US","en"],"flash": "block","fonts": ["all"],"webrtc": "disabled", "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"} | Account fingerprint configuration, for details please see parameter object fingerprintConfig |
//Operation succeeded
{
"code": 0,
"data": {
}
"msg": "Success"
}
//Operation failed
{
"code":-1,
"data":{},
"msg":"failed"
}