Credentials

Each proxy has one or more proxy users (users[] on the proxy object). This endpoint gives them new, random 16-character passwords. The old password stops working with the node's next config pull (seconds).

New password

POST /proxies/{id}/password

Ability: manage · Who: anyone on the account except team viewers; sub-users for their assigned proxies.

Body fieldType
usernamestringoptional — only this proxy user; omit to change all users of the proxy
curl
Python
Node.js
PHP
curl -X POST 'https://proxykite.com/api/v1/proxies/7/password' \
  -H "Authorization: Bearer $HYP_TOKEN" \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{"username":"u7abc"}'

Response 200

{"data": [{"username": "u7abc", "password": "Xk3v9QmP2rT8wLzA"}]}

422 validation_failed (fields.username) if the proxy has no user with that name.

Not idempotent

Every call creates a new password. Update your tools with the returned value straight away.