Sub users
(For resellers only)
Sub user by ID
Authorizations
AuthorizationstringRequired
Path parameters
idanyRequired
Responses
200
Data of the sub users
application/json
400
fail
application/json
get
/customer/sub-user/{id}GET /v1/customer/sub-user/{id} HTTP/1.1
Host: customers-api.netnut.io
Authorization: YOUR_API_KEY
Accept: */*
[
{
"success": true,
"data": [
""
]
}
]Sub user update password
Authorizations
AuthorizationstringRequired
Path parameters
idanyRequired
Body
new_login_pwdstringRequired
new_login_pwd
Responses
200
Success
application/json
400
fail
application/json
patch
/customer/sub-user/{id}/passwordPATCH /v1/customer/sub-user/{id}/password HTTP/1.1
Host: customers-api.netnut.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"new_login_pwd": ""
}{
"success": true,
"data": [
""
]
}Sub user
Authorizations
AuthorizationstringRequired
Responses
200
Data of the sub users
application/json
400
fail
application/json
get
/customer/sub-user/GET /v1/customer/sub-user/ HTTP/1.1
Host: customers-api.netnut.io
Authorization: YOUR_API_KEY
Accept: */*
[
{
"success": true,
"data": [
""
]
}
]Sub user (only for reseller)
Authorizations
AuthorizationstringRequired
Body
customer_dashboard_emailstringRequired
customer_dashboard_email
customer_namestringRequired
customer_name
customer_dashboard_pwdstringRequired
customer_dashboard_pwd
customer_login_namestringRequired
customer_login_name
customer_login_pwdstringRequired
customer_login_pwd
snkrs_private_poolnumberOptional
snkrs_private_pool
Responses
200
Success
application/json
400
fail
application/json
post
/customer/sub-user/POST /v1/customer/sub-user/ HTTP/1.1
Host: customers-api.netnut.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 150
{
"customer_dashboard_email": "",
"customer_name": "",
"customer_dashboard_pwd": "",
"customer_login_name": "",
"customer_login_pwd": "",
"snkrs_private_pool": 1
}{
"success": true,
"data": [
""
]
}Allocate GB to Sub user
Authorizations
AuthorizationstringRequired
Path parameters
idanyRequired
Body
allocatenumberRequiredExample:
allocate gb
10product_typestringRequiredExample:
Product Type
'*' | 'dc' | 'res' | 'stc' | 'mob'Responses
200
Success
application/json
400
fail
application/json
post
/customer/sub-user/{id}/allocatePOST /v1/customer/sub-user/{id}/allocate HTTP/1.1
Host: customers-api.netnut.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"allocate": 10,
"product_type": "'*' | 'dc' | 'res' | 'stc' | 'mob'"
}{
"success": true,
"token": "text"
}Allocate Ips's to Sub user
Authorizations
AuthorizationstringRequired
Path parameters
idanyRequired
Header parameters
AuthorizationanyOptional
token
Body
access_pointstringRequiredExample:
Access Point
abccountry_codestringRequiredExample:
Country Code
USipsnumberRequiredExample:
IP's to allocate
5bandwidthnumberRequiredExample:
bandwith you want to give to sub-user
5Responses
200
Success
application/json
400
fail
application/json
post
/customer/sub-user/{id}/allocateIpsPOST /v1/customer/sub-user/{id}/allocateIps HTTP/1.1
Host: customers-api.netnut.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 64
{
"access_point": "abc",
"country_code": "US",
"ips": 5,
"bandwidth": 5
}{
"success": true,
"message": "null"
}Disabled Sub user
Authorizations
AuthorizationstringRequired
Path parameters
idanyRequired
Responses
200
Success
application/json
400
fail
application/json
put
/customer/sub-user/{id}/disabledPUT /v1/customer/sub-user/{id}/disabled HTTP/1.1
Host: customers-api.netnut.io
Authorization: YOUR_API_KEY
Accept: */*
{
"success": true,
"message": "Customer updated successfully"
}Last updated
