API For User-Pass
Returns a paginated list of sub-users for the authenticated account, with support for keyword search by user_name, as well as sorting and ordering.
Maximum number of items to return per page. Default: 30
Requested page number (1-based). Default: 1
Field to sort by: 'id', 'user_name', 'status', 'created_at', 'use_key', 'usage_cap', 'data_used', 'ip_usage_cap', 'ip_used'. Default: id
Sort order: desc or asc. Default: desc
Keyword to search within the user_name field.
Successful response
Sub-users list response payload.
Indicates whether the request was successful.
Human-readable response message.
Bad request
Authentication error
GET /client/v1/user-passes/get-list HTTP/1.1
Host: sandbox.9proxy.com
Accept: */*
{
"success": true,
"message": "text",
"result": {
"items": [
{
"id": 1,
"user_name": "text",
"use_key": "text",
"usage_cap": 1,
"ip_usage_cap": 1,
"data_used": 1,
"ip_used": 1,
"status": 1,
"note": "text",
"created_at": 1,
"updated_at": 1
}
],
"total_items": 1,
"total_pages": 1
}
}Creates a new sub-user (User-Pass credentials) and optionally applies traffic and IP usage limits.
Sub-user username.
user_1Sub-user password.
pass_123Sub-user status. 1: active, 2: disable
1Optional note for internal tracking.
This is Sub User 1Traffic usage cap in bytes.
1000000000IP usage cap (-1 for unlimited).
-1Successful response
Sub-user creation response payload.
Indicates whether the request was successful.
Human-readable response message.
Bad request
Authentication error
POST /client/v1/user-passes/create HTTP/1.1
Host: sandbox.9proxy.com
Content-Type: application/json
Accept: */*
Content-Length: 123
{
"user_name": "user_1",
"use_key": "pass_123",
"status": 1,
"note": "This is Sub User 1",
"usage_cap": 1000000000,
"ip_usage_cap": -1
}{
"success": true,
"message": "text",
"result": {
"id": 1,
"user_name": "text",
"use_key": "text",
"usage_cap": 1,
"ip_usage_cap": 1,
"data_used": 1,
"ip_used": 1,
"status": 1,
"note": "text",
"created_at": 1,
"updated_at": 1
}
}Updates an existing sub-user by ID, including password, status, note, and optional traffic/IP usage caps.
Sub-user ID to update.
88Sub-user username.
user_1Sub-user password.
pass_123Sub-user status. 1: active, 2: disable
1Optional note for internal tracking.
This is Sub User 1Traffic usage cap in bytes.
1000000000IP usage cap (-1 for unlimited).
-1Successful response
Sub-user update response payload.
Indicates whether the request was successful.
Human-readable response message.
Bad request
Authentication error
PUT /client/v1/user-passes/update HTTP/1.1
Host: sandbox.9proxy.com
Content-Type: application/json
Accept: */*
Content-Length: 131
{
"id": 88,
"user_name": "user_1",
"use_key": "pass_123",
"status": 1,
"note": "This is Sub User 1",
"usage_cap": 1000000000,
"ip_usage_cap": -1
}{
"success": true,
"message": "text",
"result": {
"id": 1,
"user_name": "text",
"use_key": "text",
"usage_cap": 1,
"ip_usage_cap": 1,
"data_used": 1,
"ip_used": 1,
"status": 1,
"note": "text",
"created_at": 1,
"updated_at": 1
}
}Deletes a sub-user by ID.
Sub-user ID to delete.
88Successful response
Sub-user deletion response payload.
Indicates whether the request was successful.
Human-readable response message.
Bad request
Authentication error
DELETE /client/v1/user-passes/delete HTTP/1.1
Host: sandbox.9proxy.com
Content-Type: application/json
Accept: */*
Content-Length: 9
{
"id": 88
}{
"success": true,
"message": "text",
"result": {
"deleted": true
}
}Last updated