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

Headers

apiKey
string
required

The apiKey is used to authenticate your account.

Body

application/json
username
string
required

The username of the sub-account you want to update. It must be between 6 and 10 characters or digits.

proxyType
string
required

The proxy type for the sub-account. Use: 1 for Rotating Residential, 2 for Rotating Mobile, 3 for Rotating Datacenter.

password
string

The new password for the sub-account. It must be between 6 and 8 characters, containing only letters or digits.

trafficLimit
string

The new traffic limit for the sub-account in MB. To set no limit, omit this field or leave it blank.

remarks
string

Optional remarks or description for the sub-account.

Response

200 - application/json
Successful Response

The response is of type string.

Example:

"Success"