PATCH
/
public
/
user
/
proxy
/
edit
/
{proxy_id}
curl --request PATCH \
  --url https://api.pingproxies.com/1.0/public/user/proxy/edit/{proxy_id} \
  --header 'Content-Type: <content-type>' \
  --header 'X-API-Private-Key: <api-key>' \
  --header 'X-API-Public-Key: <api-key>' \
  --data '{
  "proxy_password": "<string>",
  "proxy_username": "<string>"
}'
{
  "edited": [
    "d4f72cb1-28f8-4040-9248-89c91976c3c1"
  ],
  "message": "Proxy successfully edited."
}

Authorizations

X-API-Private-Key
string
header
required

Private API key for user-level authentication.

X-API-Public-Key
string
header
required

Public API key for user-level authentication.

Headers

Content-Type
string
default:application/json
required

Content type for the request body as application/json.

Path Parameters

proxy_id
string
required

The unique identifier of the proxy to be edited.

Body

application/json
The proxy edit details.
proxy_password
string

Proxy Specific Authentication password of the proxy.

proxy_username
string

Proxy Specific Authentication username of the proxy.

Response

200 - application/json
Proxy Successfully Edited
edited
string[]

List of Proxy IDs that were successfully edited.

The Proxy ID.

Example:
["d4f72cb1-28f8-4040-9248-89c91976c3c1"]
message
string

Success message indicating the Proxy was edited.

Example:

"Proxy successfully edited."