API Update Browser Profile Settings

Update browser profile settings using API interface:

Request Url:

https://api.vmlogin.com/v1/profile/update

Request Type: POST

NameTypeDescriptionrequired
tokenstringAuthentication tokentrue
profileIdstringBrowser profile IDtrue
BodyobjectRequest body in application/json typetrue

Note:

(1) For token, please refer to the "View/Change the API Token" tutorial;

(2) For profileId, please refer to the tutorial "Where is the Profile ID" or use the profile/list interface to get all profileId;

(3) Body only needs to submit updated fields. Fields that are not available do not need to be updated. The screenshot below shows an example of updating only the browser name and UserAgent.


Request

{
    "token": "66e9f73f3617c6afdc6768f7a61a58ae",
    "profileId": "56795471-8dc0-414c-9d1a-794e4dd8be99",
    "Body": {
                "name": "myProfile",
                "notes": "profile notes",
                "iconId": 0,
                "os": "Windows",
                "proxyServer": {
                    "setProxyServer": false,
                    "type": "HTTP",
                    "host": "127.0.0.1",
                    "port": "1080",
                    "username": "hello",
                    "password": "world",
                    "urlIndex": 0
                },
                "secChUaHeaders": {
                    "platformVer": "\"14.0.0\"",
                    "bitness": "\"64\"",
                    "fullVersion": "\"97.0.4758.102\"",
                    "model": "",
                    "secChUa": "\" Not;A Brand\";v=\"99\", \"Google Chrome\";v=\"97\", \"Chromium\";v=\"97\"",
                    "mobile": "?1",
                    "type": "AUTO",
                    "architecture": "\"x86\"",
                    "platform": "\"Windows\"",
                    "wow64": "?0"
                },
                "webRtc": {
                    "type": "FAKE",
                    "fillOnStart": true,
                    "wanSet": true,
                    "lanSet": true,
                    "publicIp": "",
                    "localIps": [
                        "192.168.1.10"
                    ],
                    "localIpsRand": false
                },
                "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36",
                "screenWidth": 1920,
                "screenHeight": 1080,
                "langHdr": "en-US",
                "acceptLanguage": "en-US,en;q=0.9",
                "platform": "Win32",
                "product": "Gecko",
                "appName": "Netscape",
                "hardwareConcurrency": 4,
                "mobileEmulation": false,
                "deviceType": 1,
                "hideWebdriver": false,
                "langBasedOnIp": false,
                "doNotTrack": false,
                "deviceMemory": 8,
                "pixelRatio": "1.0",
                "maskFonts": true,
                "fontSetting": {
                    "dynamicFonts": false,
                    "fontList": [
                        "@Microsoft YaHei UI",
                        "@宋体",
                        "MS Outlook"
                    ],
                    "selectAll": false,
                    "clientRects": true,
                    "rand": false
                },
                "canvasDefType": "NOISEB",
                "audio": {
                    "noise": true
                },
                "webgl": {
                    "imgProtect": true,
                    "noise": true,
                    "vendor": "Google Inc. (AMD)",
                    "renderer": "ANGLE (AMD, Radeon (TM) RX 470 Graphics Direct3D11 vs_5_0 ps_5_0, D3D11-27.20.12029.1000)"
                },
                "webglInfo": {
                    "MAX_TEXTURE_IMAGE_UNITS": 16,
                    "MAX_VERTEX_UNIFORM_VECTORS": 4096,
                    "ELEMENT_ARRAY_BUFFER_BINDING": null,
                    "CULL_FACE_MODE": 1029,
                    "MAX_VERTEX_UNIFORM_COMPONENTS": 16384,
                    "MAX_VERTEX_TEXTURE_IMAGE_UNITS": 16,
                    "STENCIL_PASS_DEPTH_PASS": 7680,
                    "STENCIL_PASS_DEPTH_FAIL": 7680,
                    "MAX_VARYING_COMPONENTS": 120,
                    "BLEND_DST_ALPHA": 0,
                    "MAX_CUBE_MAP_TEXTURE_SIZE": 16384,
                    "BLEND_COLOR": [
                        0,
                        0,
                        0,
                        0
                    ],
                    "POLYGON_OFFSET_FILL": false,
                    "DEPTH_TEST": false,
                    "SUBPIXEL_BITS": 4,
                    "DEPTH_FUNC": 513,
                    "DEPTH_BITS": 24,
                    "MAX_TEXTURE_LOD_BIAS": 2,
                    "FRONT_FACE": 2305,
                    "DEPTH_WRITEMASK": true,
                    "MAX_COLOR_ATTACHMENTS": 8,
                    "UNMASKED_RENDERER_WEBGL": "ANGLE (AMD, Radeon (TM) RX 470 Graphics Direct3D11 vs_5_0 ps_5_0, D3D11-27.20.12029.1000)",
                    "VERSION": "WebGL 2.0 (OpenGL ES 3.0 Chromium)",
                    "ARRAY_BUFFER_BINDING": null,
                    "POLYGON_OFFSET_FACTOR": 0,
                    "TEXTURE_BINDING_CUBE_MAP": null,
                    "ALIASED_POINT_SIZE_RANGE": [
                        1,
                        1024
                    ],
                    "RENDERER": "WebKit WebGL",
                    "MAX_TEXTURE_MAX_ANISOTROPY_EXT": 16,
                    "VIEWPORT": [
                        0,
                        0,
                        300,
                        150
                    ],
                    "MIN_PROGRAM_TEXEL_OFFSET": -8,
                    "STENCIL_BACK_PASS_DEPTH_PASS": 7680,
                    "MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS": 200704,
                    "STENCIL_BACK_PASS_DEPTH_FAIL": 7680,
                    "UNPACK_FLIP_Y_WEBGL": false,
                    "PACK_ALIGNMENT": 4,
                    "ACTIVE_TEXTURE": 33984,
                    "COLOR_CLEAR_VALUE": [
                        0,
                        0,
                        0,
                        0
                    ],
                    "MAX_VERTEX_UNIFORM_BLOCKS": 12,
                    "ALIASED_LINE_WIDTH_RANGE": [
                        1,
                        1
                    ],
                    "STENCIL_BACK_REF": 0,
                    "STENCIL_BACK_WRITEMASK": 2147483647,
                    "FRAMEBUFFER_BINDING": null,
                    "MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS": 120,
                    "MAX_COMBINED_UNIFORM_BLOCKS": 24,
                    "BLEND_SRC_ALPHA": 1,
                    "MAX_TEXTURE_SIZE": 16384,
                    "MAX_3D_TEXTURE_SIZE": 2048,
                    "COMPRESSED_TEXTURE_FORMATS": [],
                    "UNMASKED_VENDOR_WEBGL": "Google Inc. (AMD)",
                    "UNPACK_ALIGNMENT": 4,
                    "STENCIL_CLEAR_VALUE": 0,
                    "SAMPLE_BUFFERS": 1,
                    "SAMPLE_COVERAGE_INVERT": false,
                    "MAX_ARRAY_TEXTURE_LAYERS": 2048,
                    "POLYGON_OFFSET_UNITS": 0,
                    "SHADING_LANGUAGE_VERSION": "WebGL GLSL ES 3.00 (OpenGL ES GLSL ES 3.0 Chromium)",
                    "MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS": 212992,
                    "COLOR_WRITEMASK": [
                        true,
                        true,
                        true,
                        true
                    ],
                    "SCISSOR_BOX": [
                        0,
                        0,
                        300,
                        150
                    ],
                    "BLEND_DST_RGB": 0,
                    "SAMPLE_COVERAGE_VALUE": 1,
                    "VENDOR": "WebKit",
                    "MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS": 4,
                    "MAX_UNIFORM_BLOCK_SIZE": 65536,
                    "STENCIL_BACK_FUNC": 519,
                    "STENCIL_BACK_FAIL": 7680,
                    "SCISSOR_TEST": false,
                    "MAX_FRAGMENT_UNIFORM_BLOCKS": 12,
                    "SAMPLES": 4,
                    "UNPACK_COLORSPACE_CONVERSION_WEBGL": 37444,
                    "MAX_VARYING_VECTORS": 30,
                    "DEPTH_BITS,STENCIL_BITS": "[24, 8]",
                    "MAX_PROGRAM_TEXEL_OFFSET": 7,
                    "RED_BITS,GREEN_BITS,BLUE_BITS,ALPHA_BITS": "[8, 8, 8, 8]",
                    "RED_BITS": 8,
                    "ALPHA_BITS": 8,
                    "MAX_FRAGMENT_UNIFORM_COMPONENTS": 4096,
                    "MAX_FRAGMENT_UNIFORM_VECTORS": 1024,
                    "MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS": 4,
                    "GREEN_BITS": 8,
                    "MAX_SAMPLES": 8,
                    "SUPPORTED_EXTENSIONS": [
                        "EXT_color_buffer_float",
                        "EXT_color_buffer_half_float",
                        "EXT_disjoint_timer_query_webgl2",
                        "EXT_float_blend",
                        "EXT_texture_compression_bptc",
                        "EXT_texture_compression_rgtc",
                        "EXT_texture_filter_anisotropic",
                        "EXT_texture_norm16",
                        "KHR_parallel_shader_compile",
                        "OES_texture_float_linear",
                        "WEBGL_compressed_texture_s3tc",
                        "WEBGL_compressed_texture_s3tc_srgb",
                        "WEBGL_debug_renderer_info",
                        "WEBGL_debug_shaders",
                        "WEBGL_lose_context",
                        "WEBGL_multi_draw",
                        "OVR_multiview2"
                    ],
                    "BLEND_SRC_RGB": 1,
                    "DEPTH_RANGE": [
                        0,
                        1
                    ],
                    "MAX_VERTEX_ATTRIBS": 16,
                    "STENCIL_BACK_VALUE_MASK": 2147483647,
                    "STENCIL_WRITEMASK": 2147483647,
                    "MAX_DRAW_BUFFERS": 8,
                    "MAX_VERTEX_OUTPUT_COMPONENTS": 120,
                    "MAX_RENDERBUFFER_SIZE": 16384,
                    "GENERATE_MIPMAP_HINT": 4352,
                    "UNPACK_PREMULTIPLY_ALPHA_WEBGL": false,
                    "MAX_UNIFORM_BUFFER_BINDINGS": 24,
                    "UNIFORM_BUFFER_OFFSET_ALIGNMENT": 256,
                    "BLEND_EQUATION_RGB": 32774,
                    "MAX_FRAGMENT_INPUT_COMPONENTS": 120,
                    "RENDERBUFFER_BINDING": null,
                    "TEXTURE_BINDING_2D": null,
                    "MAX_VIEWPORT_DIMS": [
                        32767,
                        32767
                    ],
                    "BLUE_BITS": 8,
                    "MAX_COMBINED_TEXTURE_IMAGE_UNITS": 32,
                    "DEPTH_CLEAR_VALUE": 1,
                    "DITHER": true,
                    "STENCIL_TEST": false,
                    "STENCIL_VALUE_MASK": 2147483647,
                    "STENCIL_REF": 0,
                    "BLEND": false,
                    "STENCIL_FUNC": 519,
                    "STENCIL_FAIL": 7680,
                    "STENCIL_BITS": 8,
                    "CURRENT_PROGRAM": null,
                    "CULL_FACE": false,
                    "BLEND_EQUATION_ALPHA": 32774,
                    "LINE_WIDTH": 1
                },
                "timeZoneFillOnStart": false,
                "timeZone": "Europe/Tallinn",
                "mediaDevices": {
                    "setMediaDevices": true,
                    "use_name": false,
                    "videoInputs": 1,
                    "audioInputs": 2,
                    "audioOutputs": 4,
                    "rand": {
                        "videoInputs": true,
                        "audioInputs": {
                            "device1": {
                                "label": "label value",
                                "deviceId": "deviceId value",
                                "groupId": "groupId value"
                            },
                            "device2": true
                        },
                        "audioOutputs": {
                            "device1": true,
                            "device3": true,
                            "device4": {
                                "label": "label value",
                                "deviceId": "deviceId value",
                                "groupId": "groupId value"
                            }
                        }
                    }
                },
                "startUrl": "https://vmlogin.us/",
                "kernelVer": "100",
                "restoreSession": true,
                "browserSettings": {
                    "pepperFlash": true,
                    "mediaStream": true,
                    "webkitSpeech": true,
                    "fakeUiForMedia": true,
                    "gpuAndPepper3D": true,
                    "ignoreCertErrors": true,
                    "audioMute": true,
                    "disableWebSecurity": true,
                    "disablePdf": true,
                    "touchEvents": true,
                    "hyperlinkAuditing": true,
                    "abortImage": false,
                    "abortMedia": false
                },
                "localCache": {
                    "deleteCache": true,
                    "deleteCookie": true,
                    "clearCache": true,
                    "clearHistory": true
                },
                "synSettings": {
                    "synCookie": true,
                    "synExtend": false,
                    "synBookmark": true,
                    "synHistory": true,
                    "synExtension": true,
                    "synKeepKey": true,
                    "synLastTag": true
                },
                "leakProof": {
                    "computerName": "",
                    "macAddress": "",
                    "rand" : [
                        "computerName",
                        "macAddress"
                    ]
                },
                "browserParams": "",
                "customDns": "",
                "remoteDebug": {
                    "bindAllDebug": false,
                    "debuggingPort": "",
                    "logLevels": 99
                },
                "pluginFingerprint": {
                    "pluginEnable": false,
                    "list": {
                        "name": [
                            "Chrome PDF Plugin",
                            "Chrome PDF Viewer",
                            "Native Client",
                            "Shockwave Flash"
                        ],
                        "describe": [
                            "Portable Document Format",
                            "-",
                            "-",
                            "Shockwave Flash 32.0 r0"
                        ],
                        "fileName": [
                            "internal-pdf-viewer",
                            "mhjfbmdgcfjbbpaeojofohoefgiehjai",
                            "internal-nacl-plugin",
                            "pepflashplayer.dll"
                        ],
                        "mimeType": [
                            "application/x-google-chrome-pdf",
                            "application/pdf",
                            "application/x-nacl|application/x-pnacl",
                            "application/x-shockwave-flash|application/futuresplash"
                        ],
                        "mimeDescription": [
                            "Portable Document Format",
                            "-",
                            "Native Client Executable|-Portable Native Client Executable",
                            "Shockwave Flash|Shockwave Flash"
                        ],
                        "mimeExtension": [
                            "pdf",
                            "pdf",
                            "|",
                            "swf|spl"
                        ]
                    }
                },
                "unPluginFingerprint": {
                    "list": {
                        "name": [
                            "name"
                        ],
                        "describe": [
                           "describe"
                        ],
                        "fileName": [
                            "fileName"
                        ],
                        "mimeType": [
                            "mimeType"
                        ],
                        "mimeDescription": [
                            "mimeDescription"
                        ],
                        "mimeExtension": [
                            "mimeExtension"
                        ]
                    }
                },
                "browserApi": {
                    "setBatteryStatus": false,
                    "isCharging": true,
                    "chargingTime": "0",
                    "drainsTime": "Infinity",
                    "batteryPercentage": "1",
                    "autoGeoIp": false,
                    "setLatitude": false,
                    "setLongitude": false,
                    "setAccuracy": false,
                    "latitude": "51.482594",
                    "longitude": "-0.007661",
                    "accuracy": "1803.34",
                    "setWebBluetooth": false,
                    "setBluetoothAdapter": false,
                    "speechSynthesis": false,
                    "speechVoicesList": {
                        "voiceURI": [
                            "voiceURI value 1",
                            "voiceURI value 2"
                        ],
                        "name": [
                            "name value 1",
                            "name value 2"
                        ],
                        "lang": [
                            "lang value 1",
                            "lang value 2"
                        ],
                        "localService": [
                            false,
                            true
                        ],
                        "default": [
                            true,
                            false
                        ]
                    },
                    "unSpeechVoicesList": {
                        "voiceURI": [
                            "voiceURI value 3"
                        ],
                        "name": [
                            "name value 3"
                        ],
                        "lang": [
                            "lang value 3"
                        ],
                        "localService": [
                            true
                        ],
                        "default": [
                            true
                        ]
                    },
                    "speechVoicesRestoreDefault": true
                },
                "sslFingerprint":{
                    "enableCustomSSL": false,
                    "versionMin": 0,
                    "versionMax": 1,
                    "cipherSuites": {
                        "TLS_AES_128_GCM_SHA256": true,
                        "TLS_AES_256_GCM_SHA384": true,
                        "TLS_CHACHA20_POLY1305_SHA256": true,
                        "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256": true,
                        "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256": true,
                        "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384": true,
                        "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384": true,
                        "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256": true,
                        "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256": true,
                        "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA": true,
                        "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA": true,
                        "TLS_RSA_WITH_AES_128_GCM_SHA256": true,
                        "TLS_RSA_WITH_AES_256_GCM_SHA384": true,
                        "TLS_RSA_WITH_AES_128_CBC_SHA": true,
                        "TLS_RSA_WITH_AES_256_CBC_SHA": true,
                        "TLS_RSA_WITH_3DES_EDE_CBC_SHA": false,
                        "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA": false
                    }
                },
                "otherProtection": {
                    "setPortScan": true,
                    "localPortsExclude": ""
                },
                "header": {
                    "setHeaderCustom": false,
                    "list": {
                        "enable": [
                            false,
                            false,
                            true,
                            false
                        ],
                        "name": [
                            "name 1",
                            "name 2",
                            "name 3",
                            "name 4"
                        ],
                        "value": [
                            "value 1",
                            "value 2",
                            "value 3",
                            "value 4"
                        ],
                        "urlMatch": [
                            "urlMatch 1",
                            "urlMatch 2",
                            "urlMatch 3",
                            "urlMatch 4"
                        ],
                        "notExistAdd": [
                            true,
                            false,
                            false,
                            true
                        ]
                    }
                },
                "cmdcfg": {
                    "openCommandLine": false,
                    "commandLine": "",
                    "closeCommandLine": true
                },
                "tag": "group_name"
            }
}