Proxy-seller

删除子用户的包

Updated:

删除后,子包中任何未使用的剩余流量将被返还。

最终目标:

DELETEhttps://proxy-seller.com/personal/api/v2/{YourApiKey}/residentsubuser/delete

路径参数:

名称

价值

描述

授权

<Your_API_Key>

您的个人 API 密钥

请求正文:

名称

类型

描述

package_key

字符串

来自“获取子用户包信息”请求的子包键

示例:

https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/residentsubuser/delete
{
"package_key": "0e5382067af638932677"
}

回复:

{
    "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": "IP not allowed",
            "code": 503,
            "customData": null
        }
    ]
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Sub tarif not found",
            "code": 0,
            "customData": null
        }
    ]
}

On this page