Create subuser package
In this request you will learn how to create subuser package.
This API allows you to create a subpackage from your current active tariff with traffic. The validity period for the subpackage must not exceed the current active tariff’s validity period. The traffic amount is specified in bytes, and the specified traffic amount will be reserved from your current active tariff, but not more than what is available.
POST
https://proxy-seller.com/api/v1/{YourApiKey}/resident/create
Example:
Path parameters:
Name | Value | Description |
---|---|---|
Authorization |
| Your personal API key |
Request body:
Name | Type | Description |
---|---|---|
is_link_date | boolean | "If 'true', the expiration date will be linked to the main package. |
rotation | Number | Specifies the type of rotation: '-1' = No rotation (Sticky), '0' = Rotation per request, '1' to '3600' = Rotation by time in seconds. |
traffic_limit | Number | The amount of bytes allocated for the subuser package. |
expired_at | String | The expiration date for the subuser package. |
Response:
Last updated