- Browser
- Open API
- Modify browser profile
Update an existing browser profile. Only the fields present in the request are changed.
- Preconditions: the profile must exist in the team. End-to-end encrypted profiles cannot be updated. The operating system and browser type cannot be changed. A running profile can be updated.
- Effect: writes the profile row, its expanded settings and cookies, and merges the advanced fingerprint settings (existing values are kept unless overwritten).
- Completion: synchronous.
- Retry: safe to repeat with the same body. Note there is no optimistic locking: concurrent updates to one profile are last-write-wins, and the fingerprint merge reads before it writes, so concurrent callers can lose changes.
- Open API: when the kernel has to be re-matched, the operating system already stored on the profile is used. No client operating system or version is read.
Documented business errors: 19001, 19039, 19104, 19105, 19106, 19107, 19108, 19142, 19159, 19160, 19175, 19193. See Error Codes for what each code means. Any operation can additionally return the common codes.
Profile ID. The request also accepts the field alias id.
Group name. The group is looked up or created automatically when supplied.
System bitness. Defaults to 1:
0— 32-bit1— 64-bit
CPU architecture. Defaults to 0:
0— x861— ARM
Dynamic fingerprint configuration. Keys come from the profile advanced-settings protocol; each value may be a string, number, boolean, array, or object depending on the key.
{ "language": "en-US", "timezone": "America/Los_Angeles" }
- MoreLogin Open API endpointhttps://api.morelogin.com/env/update
curl -i -X POST \
https://api.morelogin.com/env/update \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"envId": "1800000000000001",
"envName": "marketing-01-updated",
"envRemark": "Updated through the Open API",
"uaVersion": 124,
"browserCore": 124,
"systemBitType": 1,
"architecture": 0,
"hostnameSource": 0,
"hostname": "DESKTOP-OPENAPI",
"macAddressSource": 0,
"macAddress": "00:16:3E:12:34:56"
}'Success
Operation request ID. This field may be present when the request passes through the API gateway.
{ "code": 0, "msg": null, "requestId": "1d4f3ea968664593860b94b35d4ebf5e", "data": null }