Delete subuser's package
Upon deletion, any unused remaining traffic from the subpackage will be returned.
Endpoint:
DELETEhttps://proxy-seller.com/personal/api/v1/{YourApiKey}/residentsubuser/delete
Path parameters:
Name | Value | Description |
|---|---|---|
Authorization |
| Your personal API key |
Request body:
Name | Type | Description |
|---|---|---|
package_key | String | Subpackage key from "Get subuser package information" request |
Example:
https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/residentsubuser/deleteResponse:
{
"status": "success",
"data": "{\"status\":\"delete\"}",
"errors": []
}{
"status": "error",
"data": null,
"errors": [
{
"message": "Error api key",
"code": 503,
"customData": null
},
{
"message": "IP not allowed",
"code": 503,
"customData": null
},
{
"message": "Request limit reached",
"code": 503,
"customData": null
}
]
}{
"status": "error",
"data": null,
"errors": [
{
"message": "Sub tarif not found",
"code": 0,
"customData": null
}
]
}