Please update to the latest patch version to use it.
POST /api/v2/browser-profile/update
Description: 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 |
---|---|---|---|---|---|
profile_id | text | YES | - | h1yynkm | Profile id of the profile once being created. |
name | text | NO | - | user A | The name of the profile, no more than 100 characters |
remark | text | NO | - | A remark | Remark of the profile |
platform | text | NO | - | facebook.com | Domain name of the platform, such as facebook.com, amazon.com... open on start up |
username | text | NO | - | myusername | Fill in at least one of the following: username /password or cookie information. Can be empty if duplication is allowed |
password | text | NO | - | 123456 | Fill in at least one of the following: username /password or cookie information. Can be empty if duplication is allowed |
fakey | text | NO | - | xxxx xxxx xxxx xxxx xxxx | Enter the 2FA-key.This applies to online 2FA code generator, which works similarly to Google 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. It's not necessary to fill in if duplication is allowed. Format: JSON, Netscape. |
ignore_cookie_error | text | NO | 0 | 1 | 0:an error 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 |
tabs | list | NO | - | ["http://www.baidu.com","https://www.google.com"] | The URL address that the profile accesses on startup; If left blank, only the URL specified in the platform will be opened by default. |
user_proxy_config | object | NO | - | {"proxy_type":"http","proxy_host":"123.0.0.1", "proxy_port":"12","proxy_user":"12", "proxy_password":"12","proxy_soft":"luminati"} | Proxy configuration, refer to userProxyConfig ‼️Note: Either user_proxy_config or proxyid is required. |
proxyid | text | NO | - | XX | Proxy ID or enter "random" to choose a saved proxy randomly. ‼️ Note: Either user_proxy_config or proxyid is required. |
ip | text | NO | - | xxx.xxx.xxx.xxx | Proxy IP used for an account to log in. Fill in when proxy software is lumauto or oxylabs. |
country | text | NO | - | us | Country or region your proxy belongs to. For lumauto and oxylabs IP please enter country if there is no IP. |
region | text | NO | - | xx | State or province where the proxy belongs. |
city | text | NO | - | xx | City where proxy belongs to, optional |
fingerprint_config | object | YES | - | {"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 fingerprint_config |
category_id | text | NO | 0 | 82 | Extension category ID, 0 for follow team extension. |
launch_args | list | NO | - | ["--window-position=400,0","--blink-settings=imagesEnabled=false", "--disable-notifications"] | Browser startup parameters. If launch_args are set both for API and the profile, priority will be given to the ones in API settings. |
//Operation succeeded
{
"code": 0,
"data": {
}
"msg": "Success"
}
//Operation failed
{
"code":-1,
"data":{},
"msg":"failed"
}