PATCH
/
v1
/
subAccount
/
plan
/
traffic
curl --request PATCH \
  --url https://api.goproxy.com/go-api/v1/subAccount/plan/traffic \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <apikey>' \
  --data '{
  "proxyType": 123,
  "username": "<string>",
  "trafficLimit": 123
}'
"Success"

Headers

apiKey
string
required

Your API key for authentication.

Body

application/json
proxyType
integer
required

The proxy type to modify. Use: 1 for Rotating Residential, 2 for Rotating Mobile, 3 for Rotating Datacenter.

username
string
required

The username of the sub-account you want to update.

trafficLimit
number
required

The new traffic limit for the sub-account, in GB.

Response

200 - application/json
Successful Response

The response is of type string.

Example:

"Success"