HeadlessX icon

HeadlessX

Anti-detection web scraping with HeadlessX v2 API

Proxy → Update

AI-generated

Summary

Updates a HeadlessX proxy by sending a PATCH request to the API with the specified fields.

Inputs

  • proxyId (required) — The ID of the proxy to update.
  • updateFields — A collection of fields to update. Available fields include Protocol (http/https/socks4/socks5), Host, Port, Username, Password, and Name.

Output shape

a single record representing the updated proxy configuration

The operation returns the complete updated proxy object from the API.

Examples

Example 1: Update a proxy's protocol and host

proxyId: '123', updateFields: { protocol: 'https', host: '192.168.1.10' }

Links

Discussion