HeadlessX icon

HeadlessX

Anti-detection web scraping with HeadlessX v2 API

Proxy → Toggle Active

AI-generated

Summary

Enable or disable an existing HeadlessX proxy by its ID.

Inputs

  • proxyId (required) — The unique ID of the proxy to toggle.

Output shape

a single proxy object containing its current active status

Returns the updated proxy configuration; the active status (true/false) is included in the returned data.

Examples

Example 1: Deactivate a proxy that is currently in use.

Select 'Proxy' resource and 'Toggle Active' operation, then provide the proxy ID.

Example 2: Reactivate a previously disabled proxy.

Select 'Proxy' resource and 'Toggle Active' operation, then provide the proxy ID.

Links

Discussion