Proxy-seller

패키지 업데이트

Updated:

하위 패키지를 비활성화할 때 남은 트래픽은 하위 패키지 내에 유지됩니다. 하위 패키지의 유효 기간은 현재 활성 요금제의 유효 기간을 초과하지 않아야 합니다. 하위 패키지에 할당할 총 트래픽 양을 바이트 단위로 지정합니다.

엔드포인트:

POSThttps://proxy-seller.com/personal/api/v2/{YourApiKey}/residentsubuser/update

경로 매개변수:

이름

가치

설명

권한 부여

<Your_API_Key>

개인 API 키

요청 본문:

이름

유형

설명

is_link_date

부울

"'true'인 경우 업데이트 날짜가 기본 패키지에 연결됩니다.

회전

번호

회전 유형을 지정합니다: '-1' = 회전 없음(고정), '0' = 요청당 회전, '1 ~ '3600' = 시간(초)별로 회전.

traffic_limit

문자열

하위 패키지에 할당된 바이트 수를 지정합니다.

expired_at

문자열

하위 패키지의 만료일입니다.

is_active

부울

하위 패키지의 상태를 활성 상태인 경우 'true', 비활성 상태인 경우 'false'로 설정합니다.

패키지_키

문자열

활성 패키지의 키입니다.

예시:

https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/residentsubuser/update

응답:

{
    "status": "success",
    "data": {
        "rotation": 60,
        "traffic_limit": "536870910",
        "expired_at": {
            "date": "2026-06-13 23:59:59.999000",
            "timezone_type": N,
            "timezone": "UTC"
        },
        "is_link_date": false,
        "is_active": true,
        "package_key": "c5ed800bc6b0fac55159",
        "traffic_usage": "0",
        "traffic_left": "536870910",
        "traffic_usage_sub": "0",
        "traffic_limit_sub": "536870910",
        "traffic_left_sub": "536870910"
    },
    "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": "Set [ traffic_limit ] less than [ traffic_left - 1 ] in main package: 27380416559",
            "code": 0,
            "customData": null
        }
    ]
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Sub tarif not found",
            "code": 0,
            "customData": null
        }
    ]
}

On this page