List sub-users
curl --request GET \
--url https://proxies.vision/api/reseller/sub-users \
--header 'Authorization: Bearer <token>'import requests
url = "https://proxies.vision/api/reseller/sub-users"
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', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": 42,
"label": "Shop A",
"proxy_user": "mk8d2q4l",
"gb_allocated": "15",
"upstream_used_gb": "9.2",
"gb_remaining": "5.8",
"is_active": true
}
]Reseller
List sub-users
Requires reseller access. Unlock the Reseller Portal in the dashboard, then use a key with the subusers permission. Other accounts get 403.
Your sub-users with their login and bandwidth.
Permission: subusers
GET
/
api
/
reseller
/
sub-users
List sub-users
curl --request GET \
--url https://proxies.vision/api/reseller/sub-users \
--header 'Authorization: Bearer <token>'import requests
url = "https://proxies.vision/api/reseller/sub-users"
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', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": 42,
"label": "Shop A",
"proxy_user": "mk8d2q4l",
"gb_allocated": "15",
"upstream_used_gb": "9.2",
"gb_remaining": "5.8",
"is_active": true
}
]
