Edit a browser profile
Partially edit a browser profile for the current user and team. Only fields explicitly supplied in the request are updated. Changes can be saved while the profile is running and take effect on its next start. When browser compatibility settings change, the backend regenerates internal UA fields. Unmodified random fingerprint values remain unchanged.
Request parameters
Authorization Bearer Token
Include your API Key as a Bearer token in the Authorization request header.
Authorization: Bearer <api-key>Path parameters
1"env_01JABCDEF1234567890"minLength: 1Body parameters
requiredapplication/jsonBrowserUpdateRequestminLength: 1maxLength: 32objectBrowser window dimensions to updateAdditional fields are not allowed.
Additional fields are not allowed.
objectRegenerate internal UA fields when browser engine, operating system, or UA compatibility settings change. null restores automatic selection.Additional fields are not allowed.
Additional fields are not allowed.
minLength: 1maxLength: 32object[] | nullnull clears Cookies; omitting the field preserves the current valuemaxItems: 500
maxItems: 500maxLength: 5000maxLength: 5000objectmode=none removes the proxy; omitting the field preserves the current proxy
maxItems: 100object[]Create accounts and add their bindings to the profileminItems: 1maxItems: 20
minItems: 1maxItems: 20maxItems: 100objectCommon browser settings to update; omitted child fields retain their current valuesAdditional fields are not allowed.
Additional fields are not allowed.
objectBrowser fingerprint settings to update; omitted child fields retain their current valuesAdditional fields are not allowed.
Additional fields are not allowed.
Generated from the schema; not a live response.
{
"name": "string",
"window": {
"width": 0,
"height": 0
},
"browser": {
"kernel_version": "string",
"system_os": "Windows",
"system_version": "string",
"ua_version": "string"
},
"group_id": "string"
}Request code examples
JavaScript / TypeScript: Node.js 18+ with fetch; PHP: cURL extension; Go: 1.16+; Java: JDK 11+. Replace the token and example parameter values before running.
curl -X PUT -H 'Authorization: Bearer <TOKEN>' -H 'Content-Type: application/json' -d '{
"name": "string",
"window": {
"width": 0,
"height": 0
},
"browser": {
"kernel_version": "string",
"system_os": "Windows",
"system_version": "string",
"ua_version": "string"
},
"group_id": "string"
}' 'http://local.zhongyibrowser.com:39025/api/v1/browsers/env_01JABCDEF1234567890'Responses
Success: code = 0. Failure: code > 0. Select a status to view its fields and example. Expand objects to inspect nested fields. Optional fields may be omitted.
Updated browser profile ID and running status
Body
application/jsonBrowserUpdateSuccessResponseobjectrequiredEndpoint business dataAdditional fields are not allowed.
Additional fields are not allowed.
Generated from the schema; not a live response.
{
"code": 0,
"message": "success",
"data": {
"env_id": "env_01JABCDEF1234567890",
"name": "string",
"status": "active"
}
}