Get sub-user
curl --request GET \
--url https://proxies.vision/api/reseller/sub-users/{sub_user_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://proxies.vision/api/reseller/sub-users/{sub_user_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://proxies.vision/api/reseller/sub-users/{sub_user_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": 42,
"label": "Shop A",
"proxy_user": "mk8d2q4l",
"proxy_pass": "••••••••",
"gb_allocated": "15",
"gb_remaining": "5.8"
}Reseller
Get sub-user
Requires reseller access. Unlock the Reseller Portal in the dashboard, then use a key with the subusers permission. Other accounts get 403.
One sub-user, including its password.
Permission: subusers
GET
/
api
/
reseller
/
sub-users
/
{sub_user_id}
Get sub-user
curl --request GET \
--url https://proxies.vision/api/reseller/sub-users/{sub_user_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://proxies.vision/api/reseller/sub-users/{sub_user_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://proxies.vision/api/reseller/sub-users/{sub_user_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": 42,
"label": "Shop A",
"proxy_user": "mk8d2q4l",
"proxy_pass": "••••••••",
"gb_allocated": "15",
"gb_remaining": "5.8"
}
