Create sub-user
curl --request POST \
--url https://proxies.vision/api/reseller/sub-users \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"label": "Shop A",
"gb_allocated": 10
}
'import requests
url = "https://proxies.vision/api/reseller/sub-users"
payload = {
"label": "Shop A",
"gb_allocated": 10
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({label: 'Shop A', gb_allocated: 10})
};
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",
"proxy_pass": "••••••••",
"proxy_host": "via.proxies.vision",
"proxy_port": 80,
"gb_allocated": "10"
}Reseller
Create sub-user
Requires reseller access. Unlock the Reseller Portal in the dashboard, then use a key with the subusers permission. Other accounts get 403.
A sub-user with its own proxy login and GB from your pool. The password is only in this response.
Permission: subusers
POST
/
api
/
reseller
/
sub-users
Create sub-user
curl --request POST \
--url https://proxies.vision/api/reseller/sub-users \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"label": "Shop A",
"gb_allocated": 10
}
'import requests
url = "https://proxies.vision/api/reseller/sub-users"
payload = {
"label": "Shop A",
"gb_allocated": 10
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({label: 'Shop A', gb_allocated: 10})
};
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",
"proxy_pass": "••••••••",
"proxy_host": "via.proxies.vision",
"proxy_port": 80,
"gb_allocated": "10"
}Body
application/json
Response
200 - application/json
OK

