Rename proxy by ID

Update a proxy's name. Proxy names are not unique and are not ID-or-name addressable on this endpoint; duplicate names are allowed. Name-based session-create lookups can remain ambiguous until callers resolve proxies by ID or the API adds a stronger uniqueness contract.

PATCH/proxies/{id}

Update a proxy's name. Proxy names are not unique and are not ID-or-name addressable on this endpoint; duplicate names are allowed. Name-based session-create lookups can remain ambiguous until callers resolve proxies by ID or the API adds a stronger uniqueness contract.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response

application/json

Proxy updated

Configuration for routing traffic through a proxy.

curl -X PATCH "https://example.com/proxies/string" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "id": "string",  "name": "string",  "type": "datacenter",  "protocol": "http",  "bypass_hosts": [    "string"  ],  "status": "available",  "last_checked": "2019-08-24T14:15:22Z",  "ip_address": "string",  "config": {    "country": "string"  }}