API Reference
/- Browser
- Open API
/
Batch set profile proxy
Bind a proxy to multiple profiles. When proxyId matches an existing proxy, the profiles are bound to it; otherwise a new proxy is created from the supplied connection details.
Provide at least one of envIds or uniqueIds.
Security
OpenApiBearer
POST
curl -i -X POST \
https://api.morelogin.com/env/setProxy/batch \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"envIds": [
"1800000000000001"
],
"proxy": {
"proxyIp": "127.0.0.1",
"proxyPort": 1080,
"proxyType": 2,
"proxyProvider": 0,
"username": "user",
"password": "pass"
}
}'Success
Operation request ID. This field may be present when the request passes through the API gateway.
Example:"1d4f3ea968664593860b94b35d4ebf5e"
Response
{ "code": 0, "msg": null, "requestId": "1d4f3ea968664593860b94b35d4ebf5e", "data": true }